Skip to content

Installing NVM (Node Version Manager) and NPM/Node.js on Windows 11 Home

This guide explains how to install NVM for Windows and use it to manage Node.js and NPM versions on Windows 11 Home.


Terminal window
# Download and install Chocolatey:
powershell -c "irm https://community.chocolatey.org/install.ps1|iex"
Terminal window
choco install nodejs --version="22.20.0"
Terminal window
node -v # Should print "v22.20.0".
Terminal window
npm -v # Should print "10.9.3".

If you already installed Node.js via the official installer, uninstall it first to avoid conflicts.

  1. Open Settings > Apps > Installed Apps
  2. Find Node.js and uninstall it.
  3. Delete any leftover folders:
    • C:\Program Files\nodejs
    • C:\Users\<YourUser>\AppData\Roaming\npm
    • C:\Users\<YourUser>\AppData\Roaming\npm-cache

  1. Download the latest nvm-windows installer from the releases page: 👉 https://github.com/coreybutler/nvm-windows/releases

    Example: nvm-setup.exe

  2. Run the installer:

    • Install to C:\nvm (recommended).
    • The Node.js symlink directory should be C:\Program Files\nodejs.
  3. Open a new Command Prompt or PowerShell and check if it’s installed:

    Terminal window
    nvm version