Node Version Manager (NVM) on Windows
nvm was designed for Linux. nvmw, which is completely different broke around node v0.10.30. Try NVM for Windows.
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>
NVM Installation & usage on Windows
Below are the steps for NVM Installation on Windows:
NVM stands for node version manager, which will help to switch between node versions while also allowing to work with multiple npm versions.
- Install nvm setup.
- Use command
nvm list
to check list of installed node versions. - Example: Type
nvm use 6.9.3
to switch versions.
For more info