Installing nvm (Node.js Version Manager)
nvm is node version manager, allows you to run multiple version of node.js
To install nvm, run
1 |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash |
To list all available node version, run
1 |
nvm ls-remote |
To install a particular node.js version, run
1 |
nvm install 8.9.4 |
To activate/select a node.js version, use
1 |
nvm use 8.9.4 |