versioned_docs_archived/version-5.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.
Added in: v4.0.0
Print details.
Added in: v4.0.0
Prints the outdated dependencies in a list format instead of the default table. Good for small consoles.
Added in: v4.7.0
Prints only versions that satisfy specifications in package.json.
Added in: v4.7.0
Checks only devDependencies.
Added in: v4.7.0
Checks only dependencies and optionalDependencies.
Added in: v4.7.0
Doesn't check optionalDependencies.