Skip to content

apm outdated

Compare locked dependencies against their remotes to see what has new versions available. Read-only: this command does not modify apm.lock.yaml or touch apm_modules/.

Terminal window
apm outdated [OPTIONS]

apm outdated reads apm.lock.yaml and queries each remote to detect staleness:

  • Tag-pinned deps (e.g. v1.2.3): semver compare against the latest available remote tag.
  • Branch-pinned deps (e.g. main): compare the locked commit SHA against the remote branch tip.
  • Default-branch deps (no ref): compare against main/master tip.
  • Marketplace deps: compare the installed ref against the marketplace entry’s current source.ref.

Local dependencies and Artifactory-hosted deps are skipped. Legacy apm.lock files are migrated to apm.lock.yaml automatically on read.

To apply the suggested updates, run apm install --update (see Related).

OptionDescription
-g, --globalCheck user-scope dependencies in ~/.apm/ instead of the current project.
-v, --verboseFor outdated tag-pinned deps, also list up to 10 newer available tags.
-j, --parallel-checks NMax concurrent remote checks. Default 4. 0 forces sequential.

Check project dependencies:

Terminal window
apm outdated

Sample output:

Dependency Status
Package Current Latest Status Source
----------------------------- --------- ------------- ----------- ---------------
acme/agent-skills v1.2.0 v1.4.1 outdated git tags
acme/prompt-pack main 9c1ab2f0 outdated git branch
acme/lint-rules v0.3.0 v0.3.0 up-to-date git tags
pirate-skill@apm-marketplace v0.2.1 v0.3.0 (...) outdated marketplace: apm-marketplace
[!] 2 outdated dependencies found

Check user-scope deps installed under ~/.apm/:

Terminal window
apm outdated --global

Show available tags for outdated packages:

Terminal window
apm outdated --verbose

Use 8 parallel checks for large dependency sets:

Terminal window
apm outdated -j 8
StatusMeaning
up-to-dateLocked ref matches the remote.
outdatedA newer tag (or branch tip SHA) is available.
unknownThe remote could not be queried, or the ref could not be resolved.
CodeCondition
0Check completed (including when outdated deps are reported).
1No lockfile found in the selected scope.

apm outdated is a reporting command. Finding outdated deps is not an error and does not change the exit code; wire apm audit into CI instead if you want gating.

  • apm install — pass --update to upgrade outdated deps and rewrite the lockfile.
  • apm view — inspect a single package’s metadata or available versions.
  • apm audit — security scan over installed primitives, suitable for CI gating.