NPM
npm is Node’s package manager. npm init -y makes package.json. npm i express installs Express and records it. node_modules is the downloaded code — don’t edit it; don’t commit it if you have a lockfile workflow (commit package-lock.json).
npx runs a package once. npm run start runs a script from package.json.
Trap — deleting package-lock to ‘fix’ things. Trap: npm i -g for a project library that should be local.
Exam tip
npm init -y then npm i express. package.json is the list.