Skips optionalDependencies, the packages that may fail to install on some platforms without breaking the build (platform-specific binaries like esbuild are typical examples). Speeds up installs and avoids errors on unsupported systems. npm install --omit=dev is the sibling form used for production.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.