Install NVM
NVM (Node Version Manager) can be used to manage multiple node versions on same machine.
Windows
- Go to link for nvm for windows.
- Download
nvm-setup.zipfile. - Extract zip file and open
nvm-setup.exe. - Follow installation steps to install NVM for Windows.
- Once installed, open
cmdand run commandnvm lsto list node versions installed on machine. - Use
nvm list availablecommand to search for available nodeJS versions. - Use
nvm install <version>to install NodeJS version from list available. - Use
nvm lsto list installed NodeJS versions. - Use
nvm use <version>to use the version.