Installing node.js in Windows 10

Node.js is an open-source, cross-platfrom runtime built using V8 engine, the same one powers Chrome's javascript engine. It helps you to create robust and scalable server-side and networking applications. Applications targeting node.js or node are created using Javascript and can be run within the runtime on Windows, Mac or Linux.

According to the official documentation

Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

Let's see how can we install node.js on your machine. First you to download the desired package from the node site. Since I am using Windows 10, am going to download the Windows flavor and will proceed with version 5.10.1 from stable line branch


The installer size is around 10 MB and won't much time to download. Once it's finished downloading, go to the downloads folder and double click on the installer to start the installation.

You can proceed to next step if and only if we accept the license agreement. In the next screen you need to provide the install location for node. By default it will show the location in the default Windows drive. If you want you can override it by giving the path directly in the box or click on the change button to select one.

In custom page you have the option to select/unselect items that needs to be installed. You can do that from the context menu which can be invoked by right clicking on an item. If you select all the items, then it will take around 35 MB of disk space.

If everything goes well, you will get the successful installation screen as shown above.

Now let's verify every thing is order by executing a sample Javascript, So I have created a js file with one single statement as shown below

console.log("Pinging node.js!!!!");

The installer will add the path to the node command in the PATH environment variable. But you have any command window open prior to starting the application, then you close that and reopen it.

Now run the following command, and if everything is good then we will see the message in the console

No Comments

Add a Comment