Node JS Environment Setup - Node.js installation With Examples

In my previous post, we have discussed about “Introduction to Node JS Platform“. Now we have some idea about what is Node JS and what is not Node JS.

In this post, we will discuss about “How to setup Node JS Base Environment” in Windows OS and Mac OS X.

Node JS Base Environment Setup on Windows

  1. Access Node JS Official Website “
  2. Node.js-official-website-450x281Here we can find “INSTALL” button. If we want to download latest stable version, we can click on this button.If we want to select Node JS Platform based on our Hardware and Software requirements like Windows 32bit or 64bit OS, please click on “Downloads” button and select your required Node JS version to download. 
  3. Node.js-Download-Options-403x450

Node.js Base Environment Setup on Mac OS X

For Mac OS X, download the pkg installer and run it. You will get below screens in order.


As you can see
from above image, /usr/local/bin should be in the PATH variable. Usually it’s there by default but you can check it using below command.

Below are some sample commands to check the version and start Node CLI and exit it.

Before starting some simple Node JS examples, we will discuss about Major Components of Node JS Platform in next post.

By admin

Leave a Reply

%d bloggers like this: