Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.121 ·

Plugin Prune Command

Entry
JSON All of v2.1.121
EntryKind: in v2.1.121,
ChangesSection of the release
What

New claude plugin prune subcommand removes auto-installed plugin dependencies that are no longer needed by any active plugin.

Usage
# List orphaned plugins without removing them
claude plugin prune --dry-run

# Remove orphans at user scope
claude plugin prune

# Remove at project scope
claude plugin prune --scope project

# Skip confirmation prompt (for CI)
claude plugin prune -y

# Also prune during uninstall
claude plugin uninstall my-plugin --prune
Details
  • Detects auto-installed dependencies that no longer have a parent plugin requiring them
  • Supports scopes: user, project, or local
  • Dry-run mode shows what would be removed without acting
  • Non-TTY environments require -y flag
  • Reports which plugins were removed and their count
  • Integrates with plugin uninstall --prune for cleanup during uninstall
  • Telemetry event tengu_plugin_prune_cli tracks usage
Evidence

Plugin prune handler (search for "plugin prune", "Nothing to prune", "no longer needed")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeAdded claude plugin prune to remove orphaned auto-installed plugin dependencies; plugin uninstall --prune cascades

See this entry in the whole of v2.1.121 →

Feedback