On Mac and Linux
For Mac and Linux nothing is better than nvm (Node Version Manager). For working with nvm you need to install it first which can be installed using the NVM Script. Next is to install node (nvm install node) and use it in any new shell (nvm use node or nvm run node --version).
NVM does not have support for Windows. For working on windows you need to use nvm-windows or nodeist. Note that nvm-windows is not a fork of nvm and its completely different than nvm.
To start working with nvm-windows need to download the latest version of the software from GitHub. It comes with an installer and uninstaller. To start working with multiple versions of node.js at first you need to uninstall any existing versions of node.js along with deleting existing installation directories. You also have to delete existing npm install location so that nvm installation will be done correctly.
nvm-windows is a command line tool which will list out all the node.js installation by the command nvm list. It will display the current running version of NVM for windows by using the command nvm version.
Its a natural node.js and npm version manager for windows. Just like nvm-windows it can also be installed using the installer. Just by running the command nodist it will lists all the installed versions and it also highlight the active ones.
Version Manager is a great tool for any Node.js developer because it enables you to switch between different versions, saving time for what really matters. Please Like and Share CodingDefined.com blog, if you find it interesting and helpful.