Plugin marketplace remove does not clear plugin cache

Resolved 💬 3 comments Opened Feb 18, 2026 by m-wells Closed Feb 22, 2026

Description

After running /plugin marketplace remove <name> followed by /plugin marketplace add <path>, the stale cached plugin version under ~/.claude/plugins/cache/<name>/ persists. The install UI shows the old cached version instead of the current version from marketplace.json.

Steps to Reproduce

  1. Install a plugin marketplace and plugin (e.g., version 1.3.0 in marketplace.json)
  2. /plugin marketplace remove <name>
  3. /plugin marketplace add <path> (with an updated version in marketplace.json)
  4. /plugin install <marketplace>@<plugin>
  5. Observe the install UI shows the old cached version (e.g., 0.3.0) instead of 1.3.0

Expected Behavior

marketplace remove should clear the plugin cache directory, or marketplace add/plugin install should re-resolve the version from the marketplace manifest and replace stale cache entries.

Actual Behavior

The stale binary and version persist in ~/.claude/plugins/cache/<name>/. The install UI displays the old version.

Workaround

Manually delete ~/.claude/plugins/cache/<name>/ before reinstalling.

Environment

  • Claude Code v2.1.39
  • Linux (Arch Linux, kernel 6.18.9)

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗