-P, --save-prod | Package will appear in your `dependencies`. This is the default unless `-D` or `-O` are present |
-D, --save-dev | Package will appear in your `devDependencies` |
-O, --save-optional | Package will appear in your `optionalDependencies` |
--no-save | Prevents saving to `dependencies` |
-E, --save-exact | Saved dependencies will be configured with an exact version rather than using npm's default semver range operator |
-B, --save-bundle | Saved dependencies will also be added to your bundleDependencies list |
-g, --global | Operates in 'global' mode, so that packages are installed into the prefix folder instead of the current working directory |
--global-style | Causes npm to install the package into your local node_modules folder with the same layout it uses with the global node_modules folder |
--legacy-bundling | Causes npm to install the package such that versions of npm prior to 1.4, such as the one included with node 0.8, can install the package |
--legacy-peer-deps | Bypass peerDependency auto-installation. Emulate install behavior of NPM v4 through v6 |
--strict-peer-deps | If set to true, and --legacy-peer-deps is not set, then any conflicting peerDependencies will be treated as an install failure |
--no-package-lock | Ignores package-lock.json files when installing |
--omit <Package type> | - Repeatable ♾
- Repeatable 3x
|
--ignore-scripts | If true, npm does not run scripts specified in package.json files |
--no-audit | Submit audit reports alongside the current npm command to the default registry and all registries configured for scopes |
--no-bin-links | Tells npm to not create symlinks (or .cmd shims on Windows) for package executables |
--no-fund | Hides the message at the end of each npm install acknowledging the number of dependencies looking for funding |
--dry-run | Indicates that you don't want npm to make any changes and that it should only report what it would have done |
-w, --workspace <workspace...> | Enable running a command in the context of the configured workspaces of the current project |
-ws, --workspaces | Enable running a command in the context of all the configured workspaces |