Author Profile Altaf Shaikh
Altaf Shaikh

BE Engg | Python Dev | Content Writer | Founder of TeachMeBro | Blockchain Dev | Django

NodeJs Installation - Windows

January 24th 2021   426

NodeJs Installation - Windows
NodeJs Installation - Windows

How to install Node.js on Windows

Node.js is a run-time environment which includes everything you need to execute a program written in JavaScript. It’s used for running scripts on the server to render content before it is delivered to a web browser.

NPM stands for Node Package Manager, which is an application and repository for developing and sharing JavaScript code.

The first steps in using Node.js is the installation of the Node.js libraries on the client system. To perform the installation of Node.js, perform the below steps;

Step 1) Go to the site https://nodejs.org/en/download/ and download the necessary binary files. In our example, we are going to download the 64-bit setup files for Node.js.

At the time this article was written, version 14.15.0-x64 was the latest version. The Node.js installer includes the NPM package manager.

Step 2) Double click on the downloaded .msi file to start the installation. Click the Run button on the first screen to begin the installation.

Step 3) In the next screen, click the "Next" button to continue with the installation

Step 4) In the next screen, Accept the license agreement and click on the Next button.

Step 5) In the next screen, choose the location where Node.js needs to be installed and then click on the Next button.  Keep the default location and Click on the Next button to proceed ahead with the installation.

Step 6) Accept the default components and click on the Next button.

Step 7) In the next screen, click the Install button to start the installation.

Step 8) Click the Finish button to complete the installation.

node -v

The console should respond with a version string. Repeat the process for npm:

npm -v

If both commands work, your installation was a success, and you can start using Node.js!