Also, Node Package Manager(NPM) is a tool that comes with Node.js and it helps to use thousands of open source packages that help you in the development process. Libraries like React, and frameworks like React Native, and Angular can be installed using NPM easily.
Here in this article, we will discuss the 9 steps to install Node.js and NPM on Windows 10.
Note:- Don’t look for NPM installation because it will be installed with Node.js itself.
1. Download Node.js installation file
So, the current stable version of Node.js can be downloaded and installed from the official website that is given below.
You can see two versions on the main page. The stable version and the latest version. The stable version is recommended for most users. Currently, 12.16.1 is the stable version of Nodejs and we need to download it.
It downloads an exe file. Install it on your system. If there is any doubt, the steps below will guide you.
2. Start the installation wizard
The first step is to start the installation wizard by running the installation file.
3. Accept the license agreement
Now accept the license agreement and click Next.
4. Choose the installation directory
AS default, the Node.js installed in the Program Files directory. If you are preferring another, it can be chosen from this step.
5. Select the features
We can customize the features to be installed with Node.js. But here, we don’t need to bother about it. Just click Next.
6. Install tools for Native Modules
In this step, you can optionally install tools like Python2, Visual Studio Build Tools, etc. Just skip and click Next.
7. Start installation
Now click the Install button to start Node.js installation.
8. Finish the installation
After a successful installation close the installation wizard by clicking the Finish button.
9. Check the version of Node.js
Now, verify that the Node.js and NPM are installed on our system and their versions. Open Command Prompt and check the Node and npm versions with the below commands. You can see the versions as it shows in the below image.
Note:- If you don’t know how to open Command Prompt, Press Windows key in your keyboard and search for “cmd”.
node -v npm -v
So, we have discussed the steps to install Node.js and npm in a Windows 10 system. These steps are verified by our team and 100% working.