Table of Contents

Installing Node.js on Microsoft Windows

Node JS

Step 1: Download Node.js installer

Open your favorite web browser, navigate to https://nodejs.org/download/release/v16.20.1 and download the Installer for the 64-bit version of Node.js (node-v16.20.1-win-x64.msi). Alternative you can use the ZIP-version (node-v16.20.1-win-x64.zip) for the installation.

Step 2: Installing Node.js

Once the download is completed, open the installer to start the installation. Fig. 1: Node.js Installer

Click on Next until you reach the step “Tools for Native Modules”. Click on the checkbox to enable the installation of additional build tools. Step "Tools for Native ModulesFig. 2

Step 3: Verifiy the installation

After completion of the installer, open a command prompt (or PowerShell) and enter the following:

C:\> node -v

The system should display the Node.js version installed on your system.

C:\> node -v
v16.20.1

YARN Package Manager

Step 1: Installing YARN as a global Node.js package

Open a command prompt (or PowerShell), and enter the following:

C:\> npm install -g yarn

Step 2: Verify the install

After completion of the installer, enter the following:

C:\> yarn -v

The system should display the YARN version installed on your system.

C:\> yarn -v
v1.22.19