Printing and PDF export are disabled for this content. View it online at Full Stack Learning Simplified.
Install Node.jsπ± Beginner
Download an LTS build from nodejs.org and install it. Node bundles npm, its package manager, so you get both at once.
Install & verify
bash
node -v # e.g. v24.4.0
npm -v # e.g. 10.8.1Pick the LTS version (not βCurrentβ) for stability β it's the one used in production.
Managing multiple versions
Different projects may need different Node versions. A version manager makes switching effortless.
bash
# nvm (macOS/Linux) - nvm-windows exists for Windows
nvm install 24
nvm use 24
nvm ls # list installed versionsTip: Add a
.nvmrc file with a version number to a project, then nvm use reads it β so everyone on the team runs the same Node version.Other package managers
npm is the default, but pnpm (fast, disk-efficient) and Yarn are popular alternatives. Corepack (bundled with Node) lets you enable them per project.
bash
corepack enable # activates pnpm/yarn as pinned in package.jsonNote: You don't need an IDE to start β a terminal and a text editor work β but VS Code is the common choice, with excellent JavaScript/Node support.
Free preview. Sign in and subscribe to unlock all 982 lessons across 31 courses.
Free preview Β· Β© 2026 Full Stack Learning Simplified