Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»Windows Tutorials»How To Install NVM on Windows

    How To Install NVM on Windows

    By RahulApril 16, 20223 Mins Read

    NVM (Node Version Manager) is the command-line utility for installing Node.js on your system. It allows us to install multiple Node.js versions and switch between them. This is helpful for the system running multiple Node applications that required different-2 node versions.

    Advertisement

    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.

  • https://github.com/coreybutler/nvm-windows/releases
  • And download the nvm-setup.zip file of the latest version.

    How to Install Nvm on Windows
    Download NVM installer for Windows

    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.

    How to Install NVM on Windows
    NVM Installation Finished 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 version
      nvm install latest 
      

      How to Install Latest Node with NVM on Windows
      Installing Latest Node Version on Windows
    • To install the latest stable version, execute the following command
      nvm install lts 
      
    • Installing Latest Stable Node Version on Windows
      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:

    nvm use 14.15.0 
    

    Once the new version activated, type:

    node --version 
    

    This will show the current active Node.js version. See the below screenshot:

    How to Install Node.js on Windows
    Setup Default Node Version

    Uninstall Node Version

    You can remove unused older Node version’s from your system with the following command.

    nvm uninstall 14.15.0 
    

    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.

    node NodeJs nvm
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    4 Methods to Check .NET Framework Version on Windows

    Generate the SSH Key Pair on Windows {5 Steps}

    How to Create React.js Application on macOS

    Add A Comment

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • 20 Basic Linux Commands for the Beginners (Recommended)
    • tail Command in Linux with Examples
    • What is a Orphan Process in Unix/Linux
    • How To Display Warning Message to Unauthorized SSH Access
    • How to Set a Custom SSH Login Banner and MOTD
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.