This tutorial will help you to install and manage multiple Node.js versions on Windows using NVM.

How to Install NVM on Windows

The coreybutler has build the nvm installer for the Windows systems. Visit the below link to download the NVM installer for the Windows systems. And download the nvm-setup.zip file of the latest version. Extract the downloaded archive file from your system. You will get a node-setup.exe file under the archive file. Double click the node-setup.exe file to begin the Node installation on Windows. Follow the installation wizard to complete the installation of Node on Windows.

Installing Node.js on Windows using NVM

As you have already installed the NVM on your system. Now, you can install any version of Node.js on the Windows system. To install the most recent version use “latest” and to install latest stable version use “lts” with nvm install command.

Use the following command to install most recent Node.js versionnvm install latest Installing Latest Node Version on Windows To install the latest stable version, execute the following commandnvm install lts Installing Latest Stable Node Version on Windows You can also install a specific version like 14.15.0.nvm install 14.15.0

You can follow the same commands to install multiple node versions on a single system.

Setup Default Node.js Version

You can change the default active Node version with the following command. For example, to setup Node 14.1.50 as default version, type: Once the new version activated, type: This will show the current active Node.js version. See the below screenshot:

Uninstall Node Version

You can remove unused older Node version’s from your system with the following command. Change the version number as per your requirements. The above command will remove Node 14.15.0 from your system.

Conclusion

This tutorial helped you for installing NVM on Windows system. Also provides you commands to install specific Node.js version on Windows system. Remember that the NVM is installed for a specific user. So to use NVM for another user, need to separately install it from that account.

How To Install NVM on Windows   TecAdmin - 76How To Install NVM on Windows   TecAdmin - 88How To Install NVM on Windows   TecAdmin - 84How To Install NVM on Windows   TecAdmin - 95How To Install NVM on Windows   TecAdmin - 54