Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 899 Bytes

how-to-update.md

File metadata and controls

31 lines (24 loc) · 899 Bytes
title description lead date lastmod draft images menu weight toc
How to Update
Regularly update the installed npm packages to keep your Doks website stable, usable, and secure.
Regularly update the installed npm packages to keep your Doks website stable, usable, and secure.
2020-11-12 13:26:54 +0100
2020-11-12 13:26:54 +0100
false
docs
parent
help
610
true

Check for outdated packages

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

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:

npm update [<pkg>...]