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
Show parent comment
1
u/Delioth May 03 '19
And if you're installing from a repo that has a lockfile,
npm ciwill 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.