Node.js is a popular run-time JavaScript environment developed in 2009 by Ryan Dahl and is built on Google Chrome v8’s engine and was developed by Ryan Dahl in 2009. Node.js is free and open-source and runs on various platforms like macOS, Unix, and Windows. Node.js’ main purpose is to run JavaScript code outside of the browser.

To build scalable and fast server-side and network applications by using JavaScript programming language, Node.js is used. Node Js is lightweight (easy to implement and minimalist syntax features), efficient, event-driven, and the best thing about Node js is that it is a non-blocking model. One of the reasons for Node.js popularity is because of the Node.js package manager i-e NPM.

NPM or Node Package Manager is open source, free, and the largest Software library(containing over 800,000 code packages) in the world and is the default  Package manager and installer for Node.js which is used for sharing software.

As mentioned earlier, Node.js runs in various environments, and today in this article the question of how to install Node.js in windows 10 will be answered.

Node Js Installation

Step 1: The first step in installation Node.js is to download the Node.js installer by going to the URL given below:

https://nodejs.org/en/download/

Once you open the above URL in your browser, you will see the Node.js official page where you will see the Windows Installer button. Click on it.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/10/echo/Install-Node-JS-01.png" data-lazy- height="597" src="data:image/svg xml,” width=”974″>

Keep in mind that the Node.js installer already has an NPM package manager. Once clicked your download will start.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/10/echo/Install-Node-JS-02.png" data-lazy- height="120" src="data:image/svg xml,” width=”375″>

Step 2: Once completed go to the Downloads folder on your computer and open the Node.js file. Welcome to the Node.js Setup screen where you have to click on the Next button.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/10/echo/Install-Node-JS-03.png" data-lazy- height="600" src="data:image/svg xml,” width=”779″>

Step 3: Next the License Agreement screen will be shown where you have to tick the accepting terms option and then click on the Next button:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/10/echo/Install-Node-JS-04.png" data-lazy- height="604" src="data:image/svg xml,” width=”770″>

Step 4: This step involves choosing a destination folder where Node.js will be installed. Once you have chosen your destination folder, click on the Next button:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/10/echo/Install-Node-JS-05.png" data-lazy- height="608" src="data:image/svg xml,” width=”772″>

Step 5: Now the custom setup screen will be shown where you can select components to include or remove from the installation which depends on your requirements. When you are done, click on the Next button:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/10/echo/Install-Node-JS-06.png" data-lazy- height="602" src="data:image/svg xml,” width=”770″>

Step 6: The next window that will be shown is the Native Modules window where you can click on the automatic installation of all the required tools for Node.js or leave it unticked. Click on the Next button:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/10/echo/Install-Node-JS-07.png" data-lazy- height="606" src="data:image/svg xml,” width=”775″>

Step 7: You can finally click on the Install button after which the installation will start:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/10/echo/Install-Node-JS-08.png" data-lazy- height="600" src="data:image/svg xml,” width=”775″>

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/10/echo/Install-Node-JS-09.png" data-lazy- height="606" src="data:image/svg xml,” width=”775″>

Step 8: Once the installation is completed you will see the completed Node.js Setup Wizard on the screen after which you have to click on the Finish button:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/10/echo/Install-Node-JS-10-300×236.png" data-lazy- height="236" src="data:image/svg xml,” width=”300″>

Verify Installation

To verify the installation of Node.js, open command prompt (cmd) or Powershell in your Windows 10 and execute the below command:

Once you executed you will see the installed Node.js version:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/10/echo/Install-Node-JS-11.png" data-lazy- height="112" src="data:image/svg xml,” width=”379″>

We can also check for the NPM version for which we have to execute the below command:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/10/echo/Install-Node-JS-12.png" data-lazy- height="118" src="data:image/svg xml,” width=”381″>

Conclusion

Node.js, built on Google chrome’s v8 engine, serves as the server-side platform and was developed in 2009 by Ryan Dahl. Node.js 14.17.6 is the most recent stable version, and it comes with NPM by default. NPM or Node Package manager is the largest software library out there and is used for sharing software. Node.js uses JavaScript for developing applications. In this article, we taught you how to install Node.js on Windows 10 and then we verified it in the command prompt of Windows10.

About the author

<img data-del="avatar" data-lazy-src="https://kirelos.com/wp-content/uploads/2021/10/echo/7011409B3A384F43A8417D1DAC68D179-150×150.jpg615e6edfbc200.jpg" height="112" src="data:image/svg xml,” width=”112″>

Shehroz Azam

A Javascript Developer & Linux enthusiast with 4 years of industrial experience and proven know-how to combine creative and usability viewpoints resulting in world-class web applications. I have experience working with Vue, React & Node.js & currently working on article writing and video creation.