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:
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.
Keep in mind that the Node.js installer already has an NPM package manager. Once clicked your download will start.
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.
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:
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:
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:
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:
Step 7: You can finally click on the Install button after which the installation will start:
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:
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:
We can also check for the NPM version for which we have to execute the below command: