"Nvm install windows" is almost always a misunderstanding: nvm (Node Version Manager) cannot install Windows, and it is not a Windows installer. nvm is a command-line tool that installs, switches between, and manages multiple versions of Node.js on macOS, Linux, and Windows Subsystem for Linux. If you typed nvm install windows expecting a Windows setup, the command is simply not a valid nvm command, and the fix is to use Microsoft's official Windows installation media instead. The rest of this article explains what nvm actually does, why the phrase gets searched, and how to get either job done correctly.
What nvm Actually Is
nvm stands for Node Version Manager. It is a shell script (or, on Windows, a separate port called nvm-windows) that downloads and installs Node.js runtimes into your user directory and points your shell at the version you choose. Node.js is the JavaScript runtime used for server-side JavaScript, build tools, and many command-line utilities. Different projects often require different Node versions, and nvm exists to make swapping between them painless.
Typical nvm commands look like this:
nvm install 20— downloads and installs Node.js major version 20nvm use 18— switches the current shell to Node 18nvm ls— lists installed versionsnvm alias default 20— sets the version used by new shellsnvm uninstall 16— removes an installed version
Notice that every argument after install is a Node.js version number or an alias such as lts or node. "windows" is not a Node version, so nvm rejects it with an error like "Version 'windows' not found" or a usage message. That error is the source of most of the confusion behind this search.
Why People Search "nvm install windows"
There are a few common reasons this phrase gets typed:
- They want Node on Windows. They read that nvm installs Node, assumed it installs Windows, and reversed the words.
- They are following a tutorial written for macOS or Linux that says "install nvm, then nvm install node" and they are on Windows, where the instructions differ.
- They saw nvm-windows mentioned and typed the project name as a command.
- They confused nvm with a Windows imaging or deployment tool such as DISM, which is unrelated.
In every case the underlying goal is one of two things: install Node.js on Windows, or install Windows itself. The correct tool depends on which one you mean.
Installing Node.js on Windows with nvm-windows
On Windows, the original nvm shell script does not run natively. The community project nvm-windows provides a similar experience. The general steps are:
- Download the latest nvm-windows installer (usually a
nvm-setup.exeor a zip release) from its official GitHub releases page. - Run the installer. It will ask where to place nvm and where to create the symlink that Node is run from.
- Open a new Command Prompt or PowerShell window so the updated PATH is picked up.
- Run
nvm versionto confirm it is installed. - Run
nvm install ltsor a specific version such asnvm install 20.11.0. - Run
nvm use 20.11.0to activate it, thennode -vandnpm -vto verify.
Two practical notes: nvm-windows requires administrator rights for some operations because it creates symlinks, and you should uninstall any existing standalone Node.js installation first to avoid PATH conflicts. If you are on macOS or Linux, the original nvm is installed with a shell script from its repository, and then you use nvm install node to get the latest release.
Installing Windows Itself
If your actual goal is to install the Windows operating system, nvm plays no part. The standard approach is:
- Download the official Windows installation media (the Media Creation Tool or an ISO) from Microsoft's website.
- Write it to a USB flash drive (at least 8 GB) using a tool such as Rufus or the Media Creation Tool itself.
- Back up your files first, because a clean install erases the target drive.
- Boot from the USB drive, choose language and keyboard, then choose Install Now or Repair.
- Enter a product key if prompted, accept the license, choose Custom install, select the drive, and let Setup run.
Check that the PC meets the minimum hardware requirements before starting, and confirm whether you need a clean install or an in-place upgrade, since the steps differ. There is no command-line shortcut through nvm for any of this.
Common Problems and Fixes
When nvm commands misbehave, the cause is usually one of these:
- "nvm is not recognized" — the PATH was not updated; close and reopen the terminal, or reinstall.
- Wrong Node version still active — another Node install is earlier in PATH; remove it or reorder PATH.
- Permission errors on nvm-windows — run the terminal as administrator.
- Install fails behind a proxy — configure the proxy environment variables before running nvm.
- "Version not found" — the argument is not a real Node version; check
nvm ls-remoteor the release list.
Each of these is a Node-management issue, not a Windows installation issue, which is the key distinction to keep in mind.
nvm vs Other Node Managers
nvm is not the only option. n is a simpler alternative on macOS and Linux. fnm and Volta are faster, Rust-based managers that also work on Windows. asdf handles multiple languages, not just Node. For most users, nvm or nvm-windows is the best-documented choice, but if startup speed matters, fnm or Volta are worth considering. None of these tools install operating systems.
Frequently Asked Questions
Can nvm install Windows? No. nvm manages Node.js versions only. To install Windows, use Microsoft's official installation media and a USB drive.
What does "nvm install windows" do if I run it? It fails, because "windows" is not a Node.js version. You will see a version-not-found or usage error.
How do I install Node.js on Windows then? Use nvm-windows: install it, open a new terminal, then run nvm install lts and nvm use <version>.
Is nvm-windows the same as nvm? It is a separate port with similar commands, built for Windows because the original nvm is a Unix shell script.
Do I need to uninstall Node first? With nvm-windows, yes — remove any standalone Node install to avoid PATH conflicts before using nvm.
Does nvm work in PowerShell? nvm-windows works in Command Prompt and PowerShell; the original nvm is used in bash, zsh, and similar Unix shells.