download on first run |
download on next run |
requires package-lock.json |
modifies package-lock.json |
deletes node_modules |
allows install a single package |
speed | |
---|---|---|---|---|---|---|---|
npm i | y | if not found in cache or cache is corrupted |
no | yes | no | yes | normal |
npm ci | y | if not found in cache or cache is corrupted |
yes | no | yes | no | fast |
Created
May 22, 2020 10:37
-
-
Save likerRr/b16b505b3722122e80f4d10d34f207b2 to your computer and use it in GitHub Desktop.
npm i vs npm ci
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment