LinuxCommandLibrary

pnpm-outdated

List outdated pnpm packages

TLDR

Check outdated packages

$ pnpm outdated
copy
Check specific package
$ pnpm outdated [package-name]
copy
Check in production only
$ pnpm outdated --prod
copy
Check dev dependencies
$ pnpm outdated --dev
copy
Check globally installed
$ pnpm outdated -g
copy
Long format output
$ pnpm outdated --long
copy

SYNOPSIS

pnpm outdated [--prod] [--dev] [-g] [packages]

DESCRIPTION

pnpm outdated checks for packages that have newer versions available by comparing installed versions against the registry. It displays a table showing the current, wanted (matching semver range), and latest versions for each outdated package.
The output uses color coding to distinguish major (red) from minor (yellow) version bumps. Use --prod or --dev to filter by dependency type, -g for global packages, and -r to check all workspace packages in a monorepo. The --long flag shows additional details including the package homepage.

PARAMETERS

--prod

Production dependencies only.
--dev
Development dependencies only.
-g, --global
Global packages.
--long
Show extended info.
--recursive, -r
Check all workspace packages.
--filter PATTERN
Filter packages.

CAVEATS

Requires pnpm. Network access needed. May show unwanted major updates.

HISTORY

pnpm outdated is part of pnpm, the fast and disk-efficient package manager created as an alternative to npm.

SEE ALSO

pnpm(1), npm-outdated(1), yarn(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community