versioned_docs_archived/version-7.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.
Added in: v7.15.0
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.