|
|
|
|
|
by adisbladis
2955 days ago
|
|
Imho 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. |
|