[BUG] Running `/plugin uninstall <plugin-name>` removes the plugin entry from `installed_plugins.json` but leaves the cached plugin files on disk.
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
## Expected Behavior
The plugin's cache directory (~/.claude/plugins/cache/<plugin-name>/)
should be deleted as part of the uninstall process.
## Actual Behavior
installed_plugins.json is correctly updated (plugin entry removed), but
~/.claude/plugins/cache/<plugin-name>/ remains on disk as orphaned data.
In my case, everything-claude-code left behind ~22MB of orphaned cache
files that had to be manually deleted.
## Workaround
Manually delete the cache directory:
rm -rf ~/.claude/plugins/cache/<plugin-name>/
What Should Happen?
Should automatically delete the cache folder
Error Messages/Logs
Steps to Reproduce
## Steps to Reproduce
- Install a plugin:
/plugin install everything-claude-code - Uninstall it:
/plugin uninstall everything-claude-code - Check the cache:
ls ~/.claude/plugins/cache/
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.78
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗