versioned_docs/version-10.x/cli/outdated.md
Checks for outdated packages. The check can be limited to a subset of the installed packages by providing arguments (patterns are supported).
Examples:
pnpm outdated
pnpm outdated "*gulp-*" @babel/core
Check for outdated dependencies in every package found in subdirectories, or in every workspace package when executed inside a workspace.
List outdated global packages.
Print details.
Prints the outdated dependencies in the given format.
Prints only versions that satisfy specifications in package.json.
Checks only devDependencies.
Checks only dependencies and optionalDependencies.
Doesn't check optionalDependencies.
Specifies the order in which the output results are sorted. Currently only the value name is accepted.