Node version manager, or NVM is quite a useful tool when working with different versions of node.js. To use it with windows is a bit different, albeit a bit more simpler.
- Download the installer for nvm for Windows here:
https://github.com/coreybutler/nvm-windows/releases
That’s pretty much it. After installing you’ll be able to use nvm.
Below is some of the command that you will be frequently using:
Get the latest node version and install it
nvm install node
Install specific version
To see the version to use, visit the release page of the node.js. as of writing, current version is 12.8.3.
nvm install <version>
use specific version of node.js
nvm use <version or "node">
List installed node.js version
nvm list
Result: