Last Updated On
JavaScript runs most of the interactive elements on websites and mobile applications. JavaScript works perfectly with HTML/CSS and is integrated with most popular browsers. Pure JavaScript is used on the web, and for general JavaScript applications, developers use various runtime environments, such as Node.js.
Node.js is a JavaScript code execution environment. It allows you to use JavaScript as a general-purpose programming language, creating server parts and writing full-fledged desktop applications.
Table of Contents
Steps to install node.js on Windows
Step 1: Download Node.js Installer
Visit the official Node.js website to download the Node.js ‘.msi’ installer

The downloaded .msi will look as shown below:

Step 2: Run the Installer
Locate the downloaded .msi file and double-click to run it.

Step 3: Accept the License Agreement
Follow the prompts in the setup wizard, accept the license agreement, and use the default settings for installation.

Step 4: Choose the Installation Location
The installation wizard will now ask you to select the installation path for Nodejs. Here we will go with the default installation path so simply click next.

Step 5: Select Components
A custom setup window will so here as well no need to change anything simply click next.

The installer prompt you to “install tools for native modules”. Select “Install” to complete the process.

Step 6: Install Node.js
A Ready To Install Nodejs window will appear. Simply click on the install button. Nodejs will start getting installed in your system.

Step 7: Complete the Installation
Once installation gets complete click on the finish button. By this time Nodejs is successfully installed in your system.

Wait for “Finish” to complete the setup.

This screen will be visible as the system wants the approval to download the additional tools like Chocolatey.

This powershell screen will open and download other tools. This runs in the administrator.

Step 8: Verify the Installation
Open Command Prompt or PowerShell > Check the installed versions by running these commands:
Use the below command to check the version of node.js
node -v

Use the below command to check the version of npm.
npm -v

Congratulations on making it through this tutorial and hope you found it useful! Happy Learning!! Cheers!!