en

pcpm outdated

Check for newer versions.

pcpm outdated [options]

pcpm outdated queries the feed for every direct dependency in CPM and reports the bump type relative to the version you have pinned.

Columns

ColumnMeaning
PackageThe package id.
CurrentThe version pinned in Directory.Packages.props.
LatestThe highest stable version on the feed.
Bumpmajor, minor, patch, or prerelease.

Options

FlagEffect
--directOnly check direct dependencies (default).
--allCheck every package in the lockfile, including transitive.
--prereleaseInclude pre-release versions in the search.
--jsonOutput as JSON.
--writeUpdate Directory.Packages.props to the latest version.

Examples

# Quick sanity check
pcpm outdated

# See what's on offer across the whole graph
pcpm outdated --all

# Bump everything (review the diff before committing)
pcpm outdated --write

Bump types

pcpm outdated uses NuGet.Versioning to compute the version distance:

  • major — leftmost non-zero component changed.
  • minor — second component changed, major is the same.
  • patch — third component changed, major and minor are the same.
  • prerelease — same X.Y.Z but with a pre-release tag, or a different pre-release tag.

These are the same heuristics that dotnet outdated and Dependabot use, so PCPM’s “major” matches everyone else’s.

See also