Stream: show and tell

Topic: npm installer


view this post on Zulip Richard Feldman (Apr 17 2023 at 18:21):

we're going to be using Roc from TypeScript at Vendr, and the easiest way to get it into the build was to make a npm package that just installs roc - so today I did that! https://www.npmjs.com/package/roc-lang

you can try it out with npx roc-lang --help (that should print the usual Roc CLI help text)

view this post on Zulip Richard Feldman (Apr 17 2023 at 18:22):

the plan is explicitly not to have an "official" npm installer (maintained by Roc as an organization). One reason for that is the slippery slope consideration; if there's an official npm installer that we maintain, what about an official PyPI installer? Or Maven? Or...etc.

view this post on Zulip Richard Feldman (Apr 17 2023 at 18:23):

so I put the code in https://github.com/vendrinc/roc-npm/


Last updated: Jul 06 2025 at 12:14 UTC