3 ms·
nvm sucks! try n! https://github.com/tj/n/ https://github.com/tj/n/ seriously, it's so much tidier!
by chrisweekly 8y ago
nvm sucks! try n!
https://github.com/tj/n/ https://github.com/tj/n/
seriously, it's so much tidier!
- adisbladis 8y agoImho all these tools like nvm, rvm etc are deeply flawed and doesn't really do their jobs all that well. Where I work we use the nix package manager. Making sure your team is using the same version of node is just a few lines of config away: with (import <nixpkgs> {}); mkShell { buildInputs [ nodejs-8_x ]; } Pinning the whole package tree is just a few more lines away and offers you full reproducibility but I omitted it for brevity. Another upside is that this approach is language agnostic and works for all tools packaged in the nix package repository.