Nvm can be used to manage various node version :
- Step1: Download nvm for Windows
- Step2: Choose nvm-setup.zip
- Step3: Unzip & click on installer.
- Step4: Check if nvm properly installed, In new command prompt type
nvm
- Step5: Install node js using nvm :
nvm install <version> : The version can be a node.js version or "latest" for the latest stable version
- Step6: check node version –
node -v
- Step7(Optional)If you want to install another version of node js – Use STEP 5 with different version.
- Step8: Check list node js version –
nvm list
- Step9: If you want to use specific node version do –
nvm use <version>
Fuente:
https://stackoverflow.com/a/61060494/2400373