Skip to main content
Version: Next

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>โ€‹

Read more about filtering.

--global, -gโ€‹

List outdated global packages.

--longโ€‹

Print details.

--format <format>โ€‹

Added in: v7.15.0

  • Default: table
  • Type: table, list, json

Prints the outdtaed dependencies in the given format.

--compatibleโ€‹

Prints only versions that satisfy specifications in package.json.

--dev, -Dโ€‹

Checks only devDependencies.

--prod, -Pโ€‹

Checks only dependencies and optionalDependencies.

--no-optionalโ€‹

Doesn't check optionalDependencies.