How to Update
On this page
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>...]