We have earlier discussed How to install Node.js on Linux systems. In this tutorial, we will learn about NVM & process to install NVM. NVM stands for Node version manager & as you might have guessed with name, its used to control Nodejs versions installed on our system. It is a command line utility, which allows us to use & switch between multiple versions of Nodejs.

It works on Linux & MacOS but does not yet support Windows machines, but there are some other 3rd party tools for Windows to do the same job.

Install NVM on Linux

Process to install NVM is simple & same whether you are using Ubuntu or CentOS/RHEL. Firstly we need to download the install script for NVM & run it. Download & execute the install script by running the following command from terminal,