Node Version Manager - NVM

NVM stands for Node Version Manager, You can use nvm to change your node.js versions very easily this is very helpful if you are working on multiple projects of Node.js having different versions, etc.

Benefits of NVM:
  1. Easy to downloaded and use in your projects. You can find them here: NVM Github Link
  2. It Provides the Command-line utility in order to manage different Node.js versions on the same system/machine.
Install NPM:

Use the following command to install NVM on your machine

  curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash

  OR

  wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
Some useful commands of NVM:
Check NVM Version
 nvm --version
Check all Node.js versions installed on your machine
 nvm ls
Check Node.js versions available to downloaded
 nvm ls--remote
Install a particular version of Node.js
 nvm install NODE_VERSION_NAME

 //Replace NODE_VERSION_NAME to actual node.js version
Use a particular version of Node.js
 nvm use NODE_VERSION_NAME

 //Replace NODE_VERSION_NAME to actual node.js version
Set default version of Node.js
 nvm alias default NODE_VERSION_NAME

 //Replace NODE_VERSION_NAME to actual node.js version
Create new alias of Node.js
 nvm alias ALIAS_NAME NODE_VERSION_NAME

 //Replace 
 //NODE_VERSION_NAME to actual node.js version
 //ALIAS_NAME to actual alias name