This is not the same thing as nvm! (expand for details)
The original nvm is a completely separate project for Mac/Linux only. This project uses an entirely different philosophy and is not just a clone of nvm. Details are listed in Why another version manager? and what's the big difference?.
Sponsors
Running into issues? See the common issues wiki.
Manage multiple installations of node.js on a Windows computer.
tl;dr Similar (not identical) to nvm, but for Windows. Has an installer. Download Now!
This has always been a node version manager, not an io.js manager, so there is no back-support for io.js. Node 4+ is supported. Remember when running nvm install
or nvm use
, Windows usually requires administrative rights (to create symlinks).
There are situations where the ability to switch between different versions of Node.js can be very useful. For example, if you want to test a module you're developing with the latest bleeding edge version without uninstalling the stable version of node, this utility can help.
Uninstall any existing versions of Node.js before installing NVM for Windows (otherwise you'll have conflicting versions). Delete any existing Node.js installation directories (e.g., %ProgramFiles%\nodejs
) that might remain. NVM's generated symlink will not overwrite an existing (even empty) installation directory.
👀 Backup any global npmrc
config 👀
(e.g. %AppData%\npm\etc\npmrc
)
Alternatively, copy the settings to the user config %UserProfile%\.npmrc
. Delete the existing npm install location (e.g. %AppData%\npm
) to prevent global module conflicts.
Use the latest installer (comes with an uninstaller). Alternatively, follow the manual installation guide.
If NVM4W doesn't appear to work immediately after installation, restart the terminal/powershell (not the whole computer).
< 8000 div class="markdown-heading" dir="auto">