Cheat Sheets

Node Version Manager (nvm)

Created: 2019 October 26th

Updated: 2019 October 26th

Install specific node version

Say you want to install Node v6.9.1 you would write on the terminal:

GNU Bash icon
nvm install 6

Switch node versions

If you have multiple versions of Node.js installed on your workspace, you can switch to a specific version by writing:

GNU Bash icon
nvm use 0.10.40

Default node version

Making a node version default

In order to set a default version of node for your workspace, type:

GNU Bash icon
nvm alias default 6

Where 6 was the version you wanted to be used as default.