HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pnpm outdated — Check for outdated packages. The check can be limited to a subset of the installed packages by provi

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandpnpm outdatedoutdatedclicheckforpackages

Problem

How to use the pnpm outdated command: 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>.

Solution

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:
pnpm outdated {{[-r|--recursive]}}


Filter outdated packages using a package selector:
pnpm outdated --filter {{package_selector}}


List outdated packages globally:
pnpm outdated {{[-g|--global]}}


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


Check only outdated dev dependencies:
pnpm outdated {{[-D|--dev]}}

Code Snippets

Check for outdated packages

pnpm outdated

Check for outdated dependencies found in every workspace package

pnpm outdated {{[-r|--recursive]}}

Filter outdated packages using a package selector

pnpm outdated --filter {{package_selector}}

List outdated packages globally

pnpm outdated {{[-g|--global]}}

Print details of outdated packages

pnpm outdated --long

Context

tldr-pages: common/pnpm outdated

Revisions (0)

No revisions yet.