npm ci and npm install #200905
-
🏷️ Discussion TypeQuestion BodyWhat is the precise difference between npm ci and npm install regarding the package-lock.json file? |
Beta Was this translation helpful? Give feedback.
Answered by
captain-jack-sparrow909
Jul 3, 2026
Replies: 1 comment
-
|
npm install can update the lockfile; npm ci never updates it and throws an error if it doesn't match package.json |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mjz-eigenlab
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
npm install can update the lockfile; npm ci never updates it and throws an error if it doesn't match package.json