Skip to content

Node.js

Node.js is an open-source, cross-platform JavaScript runtime environment that runs on the V8 engine. It is required for running npm, yarn, and most frontend tooling.

Installation

Open a terminal and run:

sh
winget install OpenJS.NodeJS

Restart your terminal after installation.

Manual

Download and install from nodejs.org.

Package Managers

Yarn

Yarn is a fast, reliable package manager. Node.js is required before enabling it.

Once Node.js is installed, open a terminal as administrator and run:

sh
corepack enable
corepack prepare yarn@stable --activate

Verify the installation:

sh
yarn --version

pnpm

pnpm is a fast, disk-efficient package manager that uses a shared store to avoid duplicating dependencies.

sh
corepack enable
corepack prepare pnpm@latest --activate

Verify the installation:

sh
pnpm --version

Released under the MIT License.