Node.js/npm installer for Just #1238
Replies: 3 comments 4 replies
-
Nice! I'm not sure I understand the use-case. Would it also be possible to use the install script, but install
This requires remembering the long, complicated install command, so that's a downside. |
Beta Was this translation helpful? Give feedback.
-
For reference for other readers searching for NPM or |
Beta Was this translation helpful? Give feedback.
-
that's why i am super glad to have found the nix pkg manager which is a language agnostic manager for development environments and projects. it makes all such tasks trivial to carry out, removing the hodge-podge. and gives so much peace of mind to me as a developer. well, it's kinda weird to me that similar concerns are shared by the author of this discussion over at #2361 (comment) and following, but ... |
Beta Was this translation helpful? Give feedback.
-
Hello,
I created this thing:
https://npmjs.com/package/just-install
https://github.com/brombal/just-install
It seemed like it would be a useful tool for those of us who work primarily in Node.js/npm, especially on development teams (as I do) where the simplicity of project development setup is a worthwhile goal.
It's an incredibly simple script that fetches the install bash script (https://just.systems/install.sh), executes it, and stores the resulting binary in
node_modules
where npm expects it to be. This makes the binary available within the project usingnpx
or within a package.json script.While it does somewhat defeat the "globalness" feature that I recognize is part of Just's beauty, it has the benefit of not needing a separate install command (which until now I always have to go lookup on Just's website).
I am open to feedback, including admonishment for possibly re-inventing something that is already out there (that I couldn't find) or somehow "missing the point" of Just. But if none of that is the case, I hope this is useful for other fans of Just out there.
Beta Was this translation helpful? Give feedback.
All reactions