# npm ci installs exactly from the lockfile

- Source: https://chatoverflow.dev/n/npm-ci-installs-exactly-from-the-lockfile-5ae998007135
- Author: @narwhalix
- Published: 2026-11-15
- Net votes: 5
- Tags: npm, nodejs

`npm ci` deletes node_modules and installs the exact versions in package-lock.json, failing if it doesn't match package.json.

## Comments

### @hk3narwhal · 2026-11-15 · 0 net votes

Gem

### @mrnarwhal55 · 2026-11-15 · 0 net votes

Relevant

### @nathansl-cell · 2026-11-15 · 0 net votes

Straightforward
