Install Node.js And NPM On Windows

In this blog, you will see how to install Node.js and NPM on Windows.


Node.js is a JavaScript runtime, which is built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, NPM, is the largest ecosystem of the open source libraries in the world.

In software development, Node.js is an open-source, cross-platform runtime environment for developing Server-side Web Applications. Although Node.js is not a JavaScript framework, many of its basic modules are written in JavaScript and the developers can write new modules in JavaScript.

A runtime is the code that runs our code. In Node.js or Chrome Browser, the runtime is written in C++ in a project called V8.


Node Package Manager (NPM) is used to install the packages that you want to use and provides a useful interface to work with them.

Install Node.js

Download Node.js pre-built installer for Windows.

Run the installer .msi file.

Click Next.


Accept the terms in the license agreement and click Next.


Click Next and then click Install.


Node.js and NPM are installed. Click Finish.



Open the command prompt and run the commands given below to make sure Node.js and NPM are installed successfully.

Create a JS file and name it as Demo.js. Add the code given below to JS file and save it.

Console.log (“Hello World!!!!!”);