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.