›_DevSetupv1.0
~/tools/nodejs

Install Node.js

Runtime1 step

JavaScript runtime built on Chrome's V8 engine. Required for npm, npx, and most JS-based CLI tools.

version
via
1 step
1
step 1/1 · target

Install Node.js

LTS v24.x

JavaScript runtime built on Chrome's V8 engine. Required for npm, npx, and most JS-based CLI tools.

$curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
$source ~/.nvm/nvm.sh
$nvm install 24

That’s it. You’re set up.

Run nodejs in any project to start.

Get started

Verify your install:

$node --version
node -e "console.log(42)"Run inline script
node server.jsRun a file
npm install expressInstall a package

Full CLI referencecoming soon

About

Node.js is the foundation of the JavaScript ecosystem outside the browser — npm, build tools, TypeScript compilers, and most CLI utilities run on it. Even if you plan to use Bun or Deno day-to-day, many tools still assume Node.js is present. LTS releases (even-numbered versions) are supported for 30 months; odd-numbered versions are short-lived and not recommended for production.

Compare
Bun vs Node.jssoon
Deno vs Node.jssoon
Related tools