Node.js · Junior · Question 26 of 75

How is npm ci different from npm install?

Explanation

npm ci is meant for CI and Docker builds where installs must be clean and reproducible. It never changes package.json or the lock file.

Further reading

Problem with a question

Node.js · Junior · question 26

Test yourself

Take the Node.js · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz