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.zip
file. - Extract zip file and open
nvm-setup.exe
. - Follow installation steps to install NVM for Windows.
- Once installed, open
cmd
and run commandnvm ls
to list node versions installed on machine. - Use
nvm list available
command to search for available nodeJS versions. - Use
nvm install <version>
to install NodeJS version from list available. - Use
nvm ls
to list installed NodeJS versions. - Use
nvm use <version>
to use the version.