How to Update

Regularly update the installed npm packages to keep your Doks website stable, usable, and secure.

On this page

💡

Learn more about semantic versioning and advanced range syntax.

Check for outdated packages

The npm outdated command will check the registry to see if any (or, specific) installed packages are currently outdated:

  1. npm outdated [[<@scope>/]<pkg> ...]

Update packages

The npm update command will update all the packages listed to the latest version (specified by the tag config), respecting semver:

  1. npm update [<pkg>...]