Sunday 13 February 2022

 

Install Node.js and NPM on Windows

Step 1: Download the Node.js Installer

From any web browser, navigate to https://nodejs.org/en/download/. Click the Windows Installer button to download the latest default version. At the time when this article is written, version 10.16.0-x64 is the latest version. The NPM package manager is included within the Node.js installer.

You may need the other versions for the older systems (32 bit system). For users, new to Node.js, choose LTS (Long Term Support).

Step 2: Install the Node.js and NPM

1. Once after the installer is downloaded, launch the installer. Double-click it to launch.

2. The system will prompt you whether you want to run the software – click Run.

3. Node.js wizard will open, Click Next.

4. Review the license agreement. Click Next to agree & install the software.

5. The installer will ask for the installation location. Go through the default location, if not you have any special need. Click Next.

6. The wizard will guide you to select components to include or exclude from the installation. Unless you have any special requirement, you should go for the defaults by clicking Next.

7. Finally, click the Install button to run the installer. After installation is finished, click Finish.

Step 3: Verify your Installation

Open the command prompt, and enter the following:

node –v

The system will display the Node.js version installed on your system. Same can be done for NPM:

npm –v

No comments:

Post a Comment