How to Install NPM on Windows
Step 1: Download the Package Manager from the official website.
To install the Node JS on the system, the first step is to download its package manager, the NPM.
You can search the official website on Google, or you can click on this link to navigate https://nodejs.org/en/download/
For Windows, you have to select the Windows Installer (.msi) according to the architecture of your installed operating system. Both 32-bit and 64-bit versions are available, and you can download them just by clicking on them.
Step 2: Running the downloaded file on your system
Once the installation package is downloaded, locate it on your system and double click on it.
After that, a dialogue box will appear, seeking permission to run the NPM. Click on Run to start the installation process.
Step 3: Install NPM Windows through Wizard
Once the Run button is clicked, a new dialogue box will be displayed.
Click on Next to continue with the process.
Step 4: Accepting the Terms and Conditions
Further, select the check box to agree with the terms and conditions to use the Node JS on your computer system. Then, select Next to move ahead.
Step 5: Defining the Path
You have to define the location where you want to install the Node JS on your machine. By default, the destination for the file is set to the Program Files folder available in Local Disk C.
You can modify the file destination through the Change button.
In addition, all the core files and future updates will be stored in this location only. So, ample storage space must be available to allow Node JS to function efficiently.
Step 6: Defining the core features to be installed
After finalizing the path, you will be headed to select the Custom Setup, where you have to choose the features to be installed.
A total of 143MB of free storage is required to install the main components as listed below:
- js runtime
- Corepack manager
- Npm package manager
- Online documentation shortcuts
You can check the details of each feature by clicking on it, and its information will be displayed in the right panel.
Step 7: Allowing Automatic Tool Installation (Optional)
This is an optional step, and you can ignore it if you don’t require any tools to be installed with Node JS.
And, if you require any extra tools, you can select the check box and move further by clicking on the Next button.
The appropriate package to install these tools will be downloaded after the successful configuration of Node JS.
Step 8: Install Node JS Windows
Click on the Install button to start the process and wait for it to complete. Also, you can go back if you want to modify any setting.
Step 9: Installation in Progress
When the Node JS installation is in-between, you will see a progress bar providing the current status.
Step 10: NPM and Node JS are installed
After configuring all the relevant settings and processing core operations, all the files will be installed on your computer, and you will be ready to start using them.
Step 11: Installing Additional Tool
If you have selected the check box to have additional tools, then CMD will open after Node JS has been installed, and you have to follow the provided instructions.