Node.js and NPM Setup Tutorial

Node.js Setup Tutorial


In this tutorial I am going to explain about how to install Node.js in your Windows machine.

Now programming world is evolving into 2 parts. One is Frontend Developement and another is Backend Development. 

Frontend Development is became successful because node.js.

What is Node.js?

Node.js is a server-side platform built on Google Chrome's JavaScript Engine (V8 Engine). Node.js was developed by Ryan Dahl in 2009 and its Latest LTS Version: 12.18.0

Node.js is an open source, cross-platform runtime environment for developing server-side and networking applications. Node.js applications are written in JavaScript, and can be run within the Node.js runtime on OS X, Microsoft Windows, and Linux.

What is NPM?

NPM, short for Node Package Manager.

NPM is a package manager(like box full of candies) which contains a library of thousands of packages developed using Node.js to develop applications. 

Latest npm is 6.14.4

NPM will be get installed while installing Node.js. 

After install you can update both separately.


How to install Node.js and NPM?

go to https://nodejs.org/en/download/ and download LTS version for better support. LTS version is more stable version and will have good support from community.




Click Windows Installer image in the website. File will be get downloaded.


Click the downloaded File to start installation. 



Accept the Terms and Conditions


Choose the Installation path. If you default path don't change anything.



Below screen will show the list of items get installed in the setup. Don't change anything if you installing first time.


Tick the checkbox for installing the core modules to install


Click install  and installation will start and complete.



Once the installation complete, we can verify the installation is  successful or not.

How to verify Node.js and NPM is installed succesfully?


Open Command Prompt. Type node -v and npm -v. you will see the version installed.



successfully installed the node and npm. 

There is another package manager called YARN is widely used. Will create new tutorial for installed YARN soon.

Thanks for reading the article. Hope this helps for beginners.




Comments