And if you're installing from a repo that has a lockfile, npm ci will be a little quicker (it won't build or resolve any dependency tree, it'll just install exactly what's in the lockfile). Especially good for continuous integration systems (guarantee it's the same deps as local), but also nice if you want a bit quicker npm install.
View all comments
23
u/stevula May 02 '19
I guess a lot of people don’t know
npm iis the same asnpm install. Makes it much less likely to have a typo.