Install NodeJS on Windows

Hey developers! In this article, we are going to see how to install node js on windowsLater on, we are also going to see how to install node js in Ubuntu Linux operating system. And I have also shared a YouTube Video at the end for those of you who want a visual tutorial. So, let’s get started. 

Table of Content

  1. Download Node JS on Windows 
  2. Install Node JS and NPM on Windows  
  3. Install Node JS Ubuntu
  4. YouTube Tutorial to Install Node JS

STEP 1: Download Node JS on Windows

To begin with, we need to firstly download Node JS software on our system. For that, click here to go to their official website where you will download it. Look at the image below, click on the highlighted windows icon to download node js software for Windows operating system. 

Download Node JS on Windows
Download Node JS on Windows

STEP 2: Install Node JS and NPM on Windows

Earlier, we downloaded the installer file of Node JS for Windows, so now we will be how to install it. It is as simple as double-clicking on the installer file to start the installation process. Just follow along with the images shown below to keep track of each step. But first, what is NPM? 

What is NPM? 

NPM stands for Node Package Manager. It is exactly what it stands for, it’s the package manager for JavaScript programming language. And there is also a remote registry called the NPM registry, where all the public and private JavaScript packages are kept. This is how we can install all the dependencies relative to the project we are making. Provided that that project is in JavaScript. 

Install Node Js on Windows step 1
Install Node Js on Windows step 1
Install Node Js on Windows step 2
Install Node Js on Windows step 2
Install Node Js on Windows step 3
Install Node Js on Windows step 3
Install Node Js on Windows step 4
Install Node Js on Windows step 4
Install Node Js on Windows step 5
Install Node Js on Windows step 5
Install Node Js on Windows step 6
Install Node Js on Windows step 6

NodeJS has been successfully installed and to see if it is indeed installed or not open up a command prompt on windows. Now execute the command “node —version and check for the output. See the image below for further clarification. 

Confirming Node JS Installation on Windows
Confirming Node JS Installation on Windows

If it displays the version in this case 16.13.1, then it can be assured that Node JS is now installed on your windows. 

STEP 3: Install Node JS Ubuntu

In comparison to windows, to install Node JS in Ubuntu is way easier and straightforward. You only need to up terminal and execute one single command which will install node JS and NPM for you. So, open up that terminal and execute this command:  

				
					sudo apt install nodejs npm -y 
				
			
Install Node Js Ubuntu
Install Node Js Ubuntu

Now we need to check if node JS is actually installed on Ubuntu or not. Therefore, in the same terminal execute the following command to check the version of node JS.  

				
					node --version 
				
			
Confirming Node JS Installation on Ubuntu
Confirming Node JS Installation on Ubuntu

And there we go. Node JS has been successfully installed on Ubuntu. in case you want a visual tutorial for how to install nodejs on windows, here it is. 

YouTube Tutorial: Installing NodeJS on Windows

Play Video about Install NodeJS on Windows