NVM

NVM (Node Version Manager) is a tool which helps you easily manage your Node versions. Without NVM managing node versions locally is a real pain, install this once and breathe a sigh of relief.

Install the latest version of node

Your Node install looking a little outdated? easily install the latest stable version of node.

nvm install node
Updated: 6 February 2022

List versions of node installed

Check what versions of Node you have installed, if you have a new one installed you can switch it there and then

nvm list
Updated: 6 February 2022

Specify a node version to use

If you need to use a specific version of Node for a project declare it in the command.

nvm install 6.14.4 # or 10.10.0, 8.9.1, etc
Updated: 6 February 2022

Use current node version in all terminals

Are new terminal sessions using different versions of Node? Set your default version which will be used across everything.

nvm alias default node
Updated: 6 February 2022