Skip to main content
Kill -9 Club
Sign in

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=dev skips development dependencies, which production does not need.

Lessons that teach it