How to Install Node.js and NPM Package Manager

Read Time2 Minutes, 6 Seconds

At first, Do you want to hear something about Node JS.? If you are looking for tutorial to Install Node.js then, this article is for you. In this post we are sharing a brief guide on Install Node.js in your Computer.

Also read: Set up Apache web hosts on Ubuntu 18.04

Yes, Of course

So, What is Node.js?

  • Node.js is open source server environment.
  • Also, Node.js is free.
  • It supports multiple platforms such as windows, mac, ubuntu e.t.c
  • As in the name itself, Node.js using Javascript on the server.

And Why Node.js is essential?

Node.js uses asynchronous programming

A common task of a web server is to open a file and return the content to the client.

Here is how PHP or ASP handles a file request:

Sends the commands to the computer’s file system.
Waits while the file system opens and reads the file.
Returns the content to the client.
Ready to handle the next request.

Gotcha… Now we are gonna start the installation.


  • Node is not a program that you directly launch like other programs.
  • To use the Node you must type command-line instructions.


Installing Node and NPM is straightforward, the installer package is available from the Node.jsĀ® website. (for mac & Windows)



  1. Run the installer (the .msi file you downloaded in the previous step.)
  2. Follow the prompts in the installer, Accept the license agreement, click the NEXT button a bunch of times and accept the default installation settings.
  3. Now, Restart your computer

Hurraaaayyyy !!!!! We just now completed the basic installation.


Make sure you have Node and NPM installed by running simple commands. Also to see what version of each is installed.


To see if Node is installed, open the Command Prompt or the terminal and type node -v.

It will print the version number something like this v8.9.4


To see if npm is installed type npm -v on your terminal or cmd. If installed it will display the version code.

Uninstalling Node and NPM

You can uninstall Node.js and NPM the same as you would uninstall other programs.

So thats it. We just done installation.

In the upcoming tutorials we are going to learn how to start our development server with node js. Coming Soon.

0 0

About Post Author

0 %
0 %
0 %
0 %
0 %

Leave a Reply

Your email address will not be published. Required fields are marked *