2024-03-03 10:45:44 +01:00
|
|
|
# pnpm outdated
|
|
|
|
|
|
|
|
> Check for outdated packages.
|
|
|
|
> The check can be limited to a subset of the installed packages by providing arguments (patterns are supported).
|
|
|
|
> More information: <https://pnpm.io/cli/outdated>.
|
|
|
|
|
|
|
|
- Check for outdated packages:
|
|
|
|
|
|
|
|
`pnpm outdated`
|
|
|
|
|
|
|
|
- Check for outdated dependencies found in every workspace package:
|
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`pnpm outdated {{[-r|--recursive]}}`
|
2024-03-03 10:45:44 +01:00
|
|
|
|
|
|
|
- Filter outdated packages using a package selector:
|
|
|
|
|
|
|
|
`pnpm outdated --filter {{package_selector}}`
|
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
- List outdated packages globally:
|
2024-03-03 10:45:44 +01:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`pnpm outdated {{[-g|--global]}}`
|
2024-03-03 10:45:44 +01:00
|
|
|
|
|
|
|
- Print details of outdated packages:
|
|
|
|
|
|
|
|
`pnpm outdated --long`
|
|
|
|
|
|
|
|
- Print outdated dependencies in a specific format:
|
|
|
|
|
|
|
|
`pnpm outdated --format {{format}}`
|
|
|
|
|
|
|
|
- Print only versions that satisfy specifications in `package.json`:
|
|
|
|
|
|
|
|
`pnpm outdated --compatible`
|
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
- Check only outdated dev dependencies:
|
2024-03-03 10:45:44 +01:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`pnpm outdated {{[-D|--dev]}}`
|