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
winget (recommended for Windows)
Open a terminal and run:
sh
winget install OpenJS.NodeJSRestart 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 --activateVerify the installation:
sh
yarn --versionpnpm
pnpm is a fast, disk-efficient package manager that uses a shared store to avoid duplicating dependencies.
sh
corepack enable
corepack prepare pnpm@latest --activateVerify the installation:
sh
pnpm --version