Installing NVM (Node Version Manager) and NPM/Node.js on Windows 11 Home
Install NVM & NPM on Windows 11 Home
Section titled “Install NVM & NPM 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.
# Download and install Chocolatey:powershell -c "irm https://community.chocolatey.org/install.ps1|iex"Download and install Node.js:
Section titled “Download and install Node.js:”choco install nodejs --version="22.20.0"Verify the Node.js version:
Section titled “Verify the Node.js version:”node -v # Should print "v22.20.0".Verify npm version:
Section titled “Verify npm version:”npm -v # Should print "10.9.3".1. Uninstall Old Node.js (if installed)
Section titled “1. Uninstall Old Node.js (if installed)”If you already installed Node.js via the official installer, uninstall it first to avoid conflicts.
- Open Settings > Apps > Installed Apps
- Find Node.js and uninstall it.
- Delete any leftover folders:
C:\Program Files\nodejsC:\Users\<YourUser>\AppData\Roaming\npmC:\Users\<YourUser>\AppData\Roaming\npm-cache
2. Install NVM for Windows
Section titled “2. Install NVM for Windows”-
Download the latest nvm-windows installer from the releases page: 👉 https://github.com/coreybutler/nvm-windows/releases
Example:
nvm-setup.exe -
Run the installer:
- Install to
C:\nvm(recommended). - The Node.js symlink directory should be
C:\Program Files\nodejs.
- Install to
-
Open a new Command Prompt or PowerShell and check if it’s installed:
Terminal window nvm version