pnpm outdated
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
Options
--recursive, -r
Check for outdated dependencies in every package found in subdirectories, or in every workspace package when executed inside a workspace.
--filter <package_selector>
--global, -g
List outdated global packages.
--long
Added in: v4.0.0
Print details.
--no-table
Added in: v4.0.0
Prints the outdated dependencies in a list format instead of the default table. Good for small consoles.
--compatible
Added in: v4.7.0
Prints only versions that satisfy specifications in package.json
.
--dev, -D
Added in: v4.7.0
Checks only devDependencies
.
--prod, -P
Added in: v4.7.0
Checks only dependencies
and optionalDependencies
.
--no-optional
Added in: v4.7.0
Doesn’t check optionalDependencies
.