Show HN: Nuño's Stupid Node Version Manager (github.com)

4 points by NunoSempere ↗ HN
The problem: Current node version managers, such as nvm or asdf are too slow. In particular, they add half a second to a few seconds when loaded with bash.

The solution: Write a stupidly simple node version manager which is significantly simpler, hackier, less featureful, and less secure, but much faster.

3 comments

[ 2.8 ms ] story [ 19.3 ms ] thread
Nice work, and good on you for taking matters into your own hands.

I did the same thing as you a few years ago, and then shortly afterwards discovered n [0], which really ought to be the go-to for managing multiple versions of Node.js in my opinion.

0: https://github.com/tj/n

Nice, thanks for the reference. Seems like the main bash script has 1.5k lines, which is still a lot, though much less than nvm.