You are going to see:
Overview of Node.js Overview of Node.js
The installation process of NPM and Node is much similar for all operating systems. I am going to show you how you can install the NPM and Node.js on the windows operating system.
NOTE: We are going to install the Node.js. The NPM is also installed along with Node.js.
NPM (Node Package Manager) is a package manager for Node.js packages.
So, Let’s see how to install the NPM and Node on windows operating system.
Download Node.js Download Node.js
You can directly visit to the site https://nodejs.org/ or simply search for Node Install.
Then click on the first link which is probably from site nodejs.org.
Choose right Node.js version Choose right Node.js version
Click on download menu or visit https://nodejs.org/en/download/.
Select the installer according to your Operating system. Choose the 32 bit or 64 bit version according your current system architecture.
I have a 64 bit system and Windows operating system. So, I’m selecting the 64 bit Node.js installer.
Installation of Node.js Installation of Node.js
After downloading the Node.js simply run the installation process. The installation process is almost similar like other software insulation processes.
In below screen Node.js ask the install permissions. Simply click on Run to start the instillation process.
Click Next to continue.
Accept terms and conditions and then click on Next button to continue.
Select the directory where you want to install the Node.js.
I’m installing the default location C:\Program Files\nodejs\. You can change the installation directory if you want.
Now, Click on Next button to continue.
Select the Node.js features which you want to install and then, Click on Next button to continue.
Click on Next button to continue.
We have selected all the options which are required for the Node.js.
Now, We are ready to install the Node.js.
Click on Install to continue.
Below is the installation process screen:
Done, We have installed the Node.js on the system.
After successful installation on Windows operating system you can see the Node.js icon.
Confirm the Node and NPM installation Confirm the Node and NPM installation
We can check it by executing the
npm --version and
node --version comamnds.
- Open Terminal or CMD (Command Prompt)
- Type commands
npm --version node --version
After executing above commands you can see the current versions of NPM and Node on the screen.