Plugin marketplace cache not updated before install/update
Resolved 💬 4 comments Opened Jan 8, 2026 by Benniphx Closed Feb 22, 2026
Bug
When using self-hosted plugin marketplaces, the local marketplace cache is never updated (git fetch) before:
- Installing a plugin (
claude plugin install) - Updating a plugin (clicking "Update" in the UI)
This causes users to install outdated versions even when newer versions exist on GitHub.
Steps to Reproduce
- Add a self-hosted marketplace:
claude plugin marketplace add github:user/repo - Install a plugin from it:
claude plugin install myplugin@mymarketplace - Push a new version to GitHub (update
plugin.jsonversion) - Try to update: Click "Update" button or run
claude plugin installagain - Result: Old version is installed, new version is ignored
Expected Behavior
The plugin manager should git fetch the marketplace repo before comparing/installing versions.
Actual Behavior
The plugin manager uses the stale local cache in ~/.claude/plugins/marketplaces/<name>/ without fetching updates from the remote.
Workaround
Manually update the marketplace cache:
cd ~/.claude/plugins/marketplaces/<marketplace-name>
git pull origin main
Then reinstall the plugin.
Environment
- Claude Code version: Latest
- OS: macOS
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗