Written by:
Franky Lopez
Sometimes we would like to write all some code in a local environment, and we will need node.js to install all of our dependencies and run certain scripts. Ex:
1$ npm run build
This document will provide a guide on how install nvm and node.js for Windows environment.
Download nvm.
In order to install Node Version Manager tool in Windows environment we need to download a zip file that contains the installation wizard.
Install nvm.
Go to your Downloads folder on Windows, and unzip nvm-setup.zip
file and double click on nvm-setup
.
Installation Wizard.
When the installation wizard opens, hit the next button a bunch of times, and at the end you will see an install button that you will hit too. After that, just wait for the progress bar to finish.
☝️ ?? Remember not to touch any default configuration. Always keep hitting next!!!
Command Prompt.
Once it is installed, open Windows Command Prompt. If you have any issues finding the command line, just type CMD in Windows search bar at the bottom-left corner of your desktop.
Install node version 8 or whatever version you want.
In the command prompt type the command below. If you want to check what are the current node versions, you can go to nodejs.org and check all of them. I would recommend using the recommended for most users.
1nvm install 8.15.0
1nvm list
1nvm use 8.15.0
1nvm use 10.15.1
Please file an issue here and we will do our best to help you. You can also contribute and pull-request any updates you think should be made to this guide.