538 B
538 B
| title | date | draft | snippet_types | ||
|---|---|---|---|---|---|
| npm i vs npm ci | 2020-08-17T11:42:34+02:00 | false |
|
Today I discovered npm ci from a colleague. It does a clean install wiping out the node_modules
before installing. For me this is perfect because I often find myself doing
$ rm -rf node_modules && npm i
no need just run npm ci
*note: you'll still want to do npm i when installing packages as npm ci does not update package*..
source: