npm ci

Clean install of npm project dependencies for automated environments. Installs packages based on package-lock.json or npm-shrinkwrap.json. More information: https://docs.npmjs.com/cli/commands/npm-ci.

npm ci

npm ci --omit={{dev|optional|peer}}

npm ci --ignore-scripts