Part 01 / Topic 2 of 9
Installing Node.js and npm
Next.js needs a minimum Node.js version to run at all. Read straight from the installed package's own documentation, not from memory:
$ grep -A2 '"engines"' harness/node_modules/next/package.json
"engines": {
"node": ">=20.9.0"
}
$ grep -n "Minimum Node.js version\|Minimum TypeScript version" harness/node_modules/next/dist/docs/01-app/01-getting-started/01-installation.md
50:- Minimum Node.js version: [20.9](https://nodejs.org/)
324:> Minimum TypeScript version: `v5.1.0`
This course's verified toolchain is well above both floors:
$ node --version
v22.23.2
$ npm --version
11.17.0
$ npx --version
11.17.0
Install Node from nodejs.org (or a version manager like nvm/volta) and confirm with the two commands above before continuing — if node --version prints anything below 20.9.0, update it now, because create-next-app itself will refuse to run on an older Node.
🔍 Going deeper:
npmships bundled with Node, so installing Node also gives younpmandnpx; there is no separate npm install step on a normal setup.
Done here? The practice set for Part 1 — including the solutions — is on the part page.