Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 753 Bytes

update-all-packages-to-latest-version.md

File metadata and controls

21 lines (13 loc) · 753 Bytes

Update all packages to latest version

You can use npm-check-updates to upgrade dependencies in package.json to the latest version.

Show any new dependencies for the project:

npx npm-check-updates

Upgrade all dependencies:

npx npm-check-updates -u

The command modifies package.json, but does not run the installation command. Follow up with npm install or whatever package manager you use.

Read more about how dependency updates are determined.

You can also run Doctor Mode to run tests will upgrading.