Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • DSA
  • Practice Problems
  • C
  • C++
  • Java
  • Python
  • JavaScript
  • Data Science
  • Machine Learning
  • Courses
  • Linux
  • DevOps
  • SQL
  • Web Development
  • System Design
  • Aptitude
  • GfG Premium
Open In App
Next Article:
How to Install and Use NVM on Windows
Next article icon

How to Install and Use NVM on Windows

Last Updated : 04 Feb, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

NVM or Node Version Manager is a command-line tool that allows developers to manage multiple versions of Node.js on a single machine. This function offers the flexibility to work on different projects and versions of Node.js. In this guide, we'll walk you through the steps to install and use NVM on Windows OS.

 Prerequisites:

  • Windows 11, 10, 8, or 7
  • Administrative Rights

Note: It is recommended to uninstall Node.js if your system already has one.

Uninstall Node.js from Windows

This will ensure that there will not be any conflict while performing a clean installation of Node.js

Step 1: Uninstall Node.js

Navigate to Control Panel > Programs > Programs and Features and locate Node.js, select it, and click to Uninstall the files.

node-uninstall
Uninstall Node.js - older versions

Step 2: Remove Residual Files

Delete the Node.js folder from C:\Program Files\ and remove the npm and npm-cache folders from C:\Users\ThisPC\AppData\Roaming\

node-remove
Remove Residual Files

Installing NVM in Windows

In this article, we will learn how to install NVM for Windows. Follow the below steps:

Step 1: Download the Installer

Download the nvm-setup.zip from the assets table located over here. Unzip/Extract the contents (The Zip file should be present in the Downloads folder or the destination you choose to download) by extracting it to nvm-setup.

Download-the-nvm-setup.zip-file

Step 2: Open the Downloaded File

In the nvm-setup folder, double-click on the file named nvm-setup.exe as shown below.

Open-nvm-setup.exe-file

Step 3: Read & Accept the License Agreement

Choose the I accept the agreement option and click on Next to proceed further with the installation.

License-agreement

Step 4: Choose the Path to Finish the Installation Process

Now, select the destination to install and click on Next. 

Select-the-destination-location

Step 5: Choose a Extraction Folder

Select the folder in which setup should create the Node.js symlink, then click Next.

Set-Node.js-symlink

Step 6: Ready to Install

Click on the Install button and once it completes, click on the Finish button.

Click-on-the-Install-button

Step 7: Verify the Installation

Confirm NVM is installed successfully by typing the following command in the terminal

nvm -v

Output: 

Verifying-the-installation-of-NVM

Install Node.js Versions Using NVM

Now, we will Install node.js versions using NVM for Windows OS.

1. List all Available Versions

This command will provide the list of all available Node.js versions:

nvm list available

2. Install Any Specific Versions

If you want to install any specific Nodejs version, run this command:

nvm install 21.7.3

3. Use any Specific Version

If you wish to work on any specific Node.js version, use this command:

nvm use 23.7.0

4. Set a Default Version

Use the following command to set a default Node.js version:

nvm alias default 23.7.0

Verify the Node.js Versions Using NVM

1. Check Node.js Version

This command will display the current Node.js version that you're using:

node -v

2. Check NPM Version

The following command will display the NPM version associated with the current Node.js version.

npm -v

Conclusion

By following this guide, you can easily manage multiple Node.js versions on your Windows computer using NVM. In this guide, we've installation, uninstallation, verify the NPM for Windows. This guide is helpful especially for those who are looking to work on different Node.js versions.


Next Article
How to Install and Use NVM on Windows

D

divyanshuparwal2001
Improve
Article Tags :
  • How To
  • Installation Guide
  • how-to-install

Similar Reads

    How to Install Nmap on Windows?
    Nmap is computer software that is used to scan networks. It was developed by Gordon Lyon. It is written in C, C++, Python, and Lua. Its initial release was in 1997, and its stable release was in 2021. Its latest version is 7.92. It is free software used for security purposes of networks. It can be r
    3 min read
    How to Install Weka on Windows?
    Weka stands for Waikato Environment for Knowledge Analysis, it is software that is used in the data science field for data mining. It is free software. It is written in Java hence it can be run on any system supporting Java, so weka can be run on different operating systems like Windows, Linux, Mac,
    2 min read
    How to Install LMMS on Windows?
    LMMS is a free digital audio workstation (DAW) that enables Windows-based computers to perform music production. You may use a variety of functions to make sounds, beats, and melodies. You can use musical instruments, repeat sections, organize samples, and synthesize and mix sounds with the aid of t
    2 min read
    How to Install Go on Windows?
    Prerequisite: Introduction to Go Programming Language Before, we start with the process of Installing Golang on our System. We must have first-hand knowledge of What the Go Language is and what it actually does? Go is an open-source and statically typed programming language developed in 2007 by Robe
    3 min read
    How to Install FreeCAD on Windows?
    FreeCAD is a general-purpose, free, and open-source software. It was initially released on 29 October 2002 and written in C++ and Python languages. It is a parametric 3D computer-aided design (CAD) modeler and a building information modeling (BIM) software that supports the finite element method (FE
    3 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences