Install Node
Node.js is a JavaScript runtime based on Google Chrome's v8 engine. Basically, this means that it allows you to run JavaScript on your machine natively (as opposed to in the browser).
Download Node.js Here
- Click the link above and download the version of Node.js labelled as having the "Latest Features" (currently version 12.6.0).
- Once the download is complete, run the installer.
- Accept the default options until you reach the page titled "Tools for Native Modules"
- Check the box on that page to "Automatically install the necessary tools."
- Accept the defaults for the rest of the options, then click
Install
. - When the installation is complete, click
Finish
. A new window will open to install the additional tools. - When prompted, press any key to continue. This might happen twice.
- When prompted, allow Powershell access to your computer. If the install hangs (nothing happens in the Powershell window for awhile), try pressing enter. If there is still no new output, wait awhile and try pressing enter again.
- Once the downloads are complete, open Git Bash again and type the following commands:
- You will need to exit and re open a new window if you are using an instance of Git Bash that was already running before the installation was complete.
node -v
npm -v
- You will need to exit and re open a new window if you are using an instance of Git Bash that was already running before the installation was complete.
- If everything worked correctly, you should see the following output:
Once you are finished installing Node.js, you can move on to the next step and install global dependencies.