Cheat Sheets

Node Version Manager (nvm)

Created: 2019 October 26th

Updated: 2019 October 26th

Edit this page on GitHub

Install specific node version

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

1nvm 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:

1nvm 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:

1nvm alias default 6

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