Closed atomless closed 10 years ago
Any tip on this added to the docs would be super helpful!
You've probably guessed by now.. anyway, nodenv --help
is a good starting point.
If you want to set your default Node.js version to 0.10.21, for example, you would run:
nodenv global v0.10.21
Can we set this in the boxen config?
You mean, setting the default version when you have more than one installed?
In that case, you can add (if you want 0.10 s default):
class { 'nodejs::global': version => 'v0.10' }
..to a manifest file in ./modules
.
Thanks
I'm used to nvm and am confused here. Is it possible to install more than one node version globally and how would you switch between them?