How to install Node.JS locally

  1. 1. Download Installer
  2. 2. Run Installer
  3. 3. Restart and Test

Node.JS

  1. What is Node.JS? Why should I care?
  2. How to install Node.JS locally

Installing Node.JS locally will take no more than 5 minutes. This post will go through the steps very quickly.

Download Installer

First, download Node.JS installer according to target operation system from here

The installer downloaded should be executable on target operation system (e.g. .msi on Window and .pkg on MacOSX)

Run Installer

Follow the wizard and install Node.JS to target machine.

Restart and Test

Once installation finished, open a bash or cmd. Installation should have both node and npm commands exposed.

1
2
3
4
$ node --version
v6.9.5
$ npm --version
3.10.10

It is essential to have both commands running correctly.