npm
PackagesPackage: nodejs
Node's package manager. npm ci installs exactly what package-lock.json describes, which npm install does not guarantee — and ci is what a deployment should call.
What its options do in the lessons
From the same glossary the lessons render under their commands, so the two cannot disagree.
npm --version- Prints the installed version, and nothing else.
npm --omit- Leaves out a class of dependencies.
--omit=devskips development dependencies, which production does not need.
Lessons that teach it
- Serving a React/Vite buildHosting a web application with Nginx
- Installing Node.js on an Ubuntu serverHosting a web application with Nginx
- What reaches the server: source, artefact or imageDeploying: releases, the switch and rolling back
- Building the artefact: what is left out, and what is fixedDeploying: releases, the switch and rolling back
