npm update

Update a package


-gUpdate global package
--global-styleCauses npm to install the package into your local node_modules folder with the same layout it uses with the global node_modules folder
--legacy-bundlingCauses 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
--strict-peer-depsIf set to true, and --legacy-peer-deps is not set, then any conflicting peerDependencies will be treated as an install failure
--no-package-lockIgnores package-lock.json files when installing
--omit <Package type>
  • Repeatable ♾
  • Repeatable 3x
--ignore-scriptsIf true, npm does not run scripts specified in package.json files
--no-auditSubmit audit reports alongside the current npm command to the default registry and all registries configured for scopes
--no-bin-linksTells npm to not create symlinks (or .cmd shims on Windows) for package executables
--no-fundHides the message at the end of each npm install acknowledging the number of dependencies looking for funding
--dry-runIndicates 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, --workspacesEnable running a command in the context of all the configured workspaces