How To Install Node.js And npm On Windows 11 (2026)
This guide is for anyone who needs Node.js and npm on a Windows 11 PC, for example to run a JavaScript project or a command-line tool.
There are two official routes, a plain installer or a version manager, and the right one depends on how you will use Node.
Each step below comes from Node.js, npm and Microsoft documentation, and the check at the end shows whether it worked.
Table of Contents
- Quick answer: pick your install route
- Check whether Node.js is already installed
- Which Node.js version to choose
- Install Node.js with the Windows Installer
- Check that it worked
- The files on the download page
- Installer or version manager
- Install Node.js with nvm-windows
- Install and switch versions with nvm
- When not to use nvm
- Update npm
- Other version managers
- Tools that go with Node.js
- Clear an old install before switching
- Sources
- More Windows guides
Quick answer: pick your install route
| Route | Best for | Start here |
|---|---|---|
| Windows Installer (.msi) | One PC, one Node version, fastest setup | nodejs.org/en/download |
| nvm-windows | Several projects that need different Node versions | Microsoft Learn guide |
Node.js ships with npm, so you do not install npm separately on either route.
Check whether Node.js is already installed
- Right-click Start and choose Terminal.
- Type
node -vand press Enter. - Type
npm -vand press Enter.
If both print a version number, Node.js and npm are already installed, and you only need an update.
Which Node.js version to choose
The npm documentation tells Windows users to install the LTS version, because other versions have not been tested with npm.
The Node.js download page marks one release as the latest LTS and lists the older lines that are still supported.
| Release shown on nodejs.org | Label | Use it? |
|---|---|---|
| v26.13.1 | Latest LTS | Yes, the default choice |
| v24.22.3 | LTS | Only if a project requires it |
| v22.23.5 | LTS | Only if a project requires it |
| v27.0.0-alpha | Alpha | No, it is a test build |
These numbers were on the page when this guide was written, so check the download page for the newest LTS.
Install Node.js with the Windows Installer
- Open nodejs.org/en/download.
- Choose the latest LTS release and the Windows Installer (
.msi). - Pick x64 for most PCs, or ARM64 for a Windows on ARM PC.
- Open the downloaded file and follow the prompts.
- Close any open terminal windows, then open a new one.
The download page recommends the MSI for system-wide installs when possible.
It also offers a ZIP or 7z archive, and warns that a system-wide ZIP install must go in a folder that untrusted users cannot write to.
Check that it worked
node -v
npm -v
Each command should print a version number, and node -v should match the LTS you chose.
| You see | What to do |
|---|---|
| Two version numbers | Done, Node.js and npm are ready |
| node works, npm is not recognized | Reinstall Node.js, because npm comes with it |
| Neither is recognized | Open a new terminal, then reinstall if it persists |
| An older version than you installed | Another install is first on PATH, see the PATH guide linked below |
For PATH problems, see our guide to editing environment variables and PATH in Windows 11.
The files on the download page
The Node.js package list shows the Windows files for each release, so you can tell which one matches your PC.
| File type | x64 PC | Windows on ARM |
|---|---|---|
| Installer | node-v26.13.1-x64.msi | node-v26.13.1-arm64.msi |
| ZIP archive | node-v26.13.1-win-x64.zip | node-v26.13.1-win-arm64.zip |
The same page lists the npm version bundled with that release as 11.20.0, which is why a fresh install already has npm.
Use the installer unless you have a reason to manage the ZIP yourself.
Installer or version manager
The npm documentation says it strongly recommends a Node version manager, and uses an installer only if you cannot use one.
The reason it gives is that an installer puts npm in a directory with local permissions, which can cause permission errors when you install global packages.
For Windows, the npm page names nodist and nvm-windows as version managers.
Install Node.js with nvm-windows
Microsoft’s guide recommends nvm-windows and walks through these steps.
- Remove any existing Node.js or npm install first.
- Delete leftover folders such as
C:\Program Files\nodejs, because nvm will not replace an existing folder, even an empty one. - Open the nvm-windows releases page and download nvm-setup.zip from the latest release.
- Open the zip, run nvm-setup.exe and choose where nvm and Node.js will be installed.
- Open PowerShell, preferably as administrator, and run
nvm ls, which should list no versions yet.
Install and switch versions with nvm
nvm list available
nvm install <version>
nvm use <version>
nvm ls
Replace the placeholder with the LTS number that nvm list available shows.
Microsoft notes that nvm install latest gets the newest features but is more likely to have issues, so the LTS is the recommended choice.
The npm version changes automatically to match the active Node.js version.
When not to use nvm
Microsoft warns that nvm is built for one user on one machine, and is not designed for shared computers or build servers.
It uses a symbolic link, so one user switching versions changes Node.js for the whole PC and points it at that user’s AppData folder.
On a shared PC, use the Windows Installer instead.
Update npm
The npm documentation gives one command to get the latest npm.
npm install -g npm
Run it, then check again with npm -v.
Without that step, npm stays at the version bundled with your Node.js release.
Other version managers
Microsoft’s guide also lists nvs (Node Version Switcher), which works across platforms and integrates with Visual Studio Code.
It also lists Volta, which you install from the Windows section of the Volta getting-started guide.
Tools that go with Node.js
Microsoft recommends Visual Studio Code as the editor and Git for Windows for source control, both with default settings.
If you plan to work in Linux instead, see our guide to installing WSL in Windows 11.
Clear an old install before switching
Microsoft’s guide says to remove any existing Node.js or npm install before you add a version manager.
It also says to delete leftover folders such as C:\Program Files\nodejs, and it does not document a separate removal procedure.
If you only want to move from the installer to nvm-windows, do this cleanup first, then follow the nvm steps above.
Sources
- Node.js download page
- Downloading and installing Node.js and npm (npm Docs)
- Set up Node.js on native Windows (Microsoft Learn)
More Windows guides
- How To Install WSL (Linux On Windows) In Windows 11 (2026)
- How To Download And Install ADB On Windows (2026)
- How To Install Fonts In Windows 11 (2026)
- How To Install .NET Framework 3.5 On Windows 11 (2026)
- How To Uninstall ESET From Windows Step By Step (2026)
- How To Uninstall Kaspersky Completely From Windows (2026)
See all: Windows 11 Guides