claude plugin update doesn't refresh marketplace clone

Status Fixed / completed
Maintainer reply None cached
Activity 3 comments · opened Mar 19, 2026 · closed Mar 19, 2026

Summary

claude plugin update reports a plugin is at "the latest version" when it isn't, because it doesn't git pull the local marketplace clone before comparing versions.

Steps to Reproduce

  1. Install a marketplace plugin:

``
claude plugin marketplace add EveryInc/compound-engineering-plugin
``

  1. Wait for the plugin repo to release newer versions
  2. Run:

``
claude plugin update compound-engineering@compound-engineering-plugin
``

  1. Output:

``
Checking for updates for plugin "compound-engineering@compound-engineering-plugin" at user scope…
✔ compound-engineering is already at the latest version (2.38.1).
``

Expected Behavior

Should detect v2.45.0 (the current version on main) and offer to update.

Root Cause

The marketplace clone at ~/.claude/plugins/marketplaces/compound-engineering-plugin/ is stale — its git HEAD is at an old commit (v2.34.4) and plugin.json shows 2.38.1. The upstream repo's main branch has plugin.json with version 2.45.0.

# Local marketplace clone HEAD:
$ cd ~/.claude/plugins/marketplaces/compound-engineering-plugin && git log --oneline -1
ca57c67 chore(release): 2.34.4 [skip ci]

# Remote main has moved far ahead:
$ git fetch origin main --dry-run
ca57c67..0407c13  main -> origin/main

claude plugin update appears to compare the installed version against the stale local clone rather than fetching the latest from origin first.

Workaround

Manually pull the marketplace clone:

cd ~/.claude/plugins/marketplaces/compound-engineering-plugin
git pull origin main

Then claude plugin update should detect the newer version.

Environment

  • Claude Code CLI (latest)
  • macOS
  • Plugin: compound-engineering@compound-engineering-plugin (EveryInc/compound-engineering-plugin)

View original on GitHub ↗

3 Comments

github-actions[bot] · 6 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/35752
  2. https://github.com/anthropics/claude-code/issues/26744
  3. https://github.com/anthropics/claude-code/issues/32804

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

kazuho-shibuya · 6 months ago

Closing as duplicate of #29071 (and related: #17361, #26744, #32804, #35752). Same root cause: marketplace clone is never git-pulled after initial install.

github-actions[bot] · 6 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.