[BUG] Plugins are installed and uninstalled globally even when using multiple CLAUDE_CONFIG_DIR directories
Resolved 💬 2 comments Opened Apr 10, 2026 by LeaVerou Closed Apr 10, 2026
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?
I'm using multiple local "profiles" via different CLAUDE_CONFIG_DIR settings (same account). Although installed plugins are supposed to be installed within the config dir, installing or uninstalling a plugin in one profile affects all others.
What Should Happen?
Installed plugins should be separate per config dir.
Error Messages/Logs
Steps to Reproduce
- Copy
~/.claudeto~/.claude-foo - In
~/.zshrcadd:
alias claude-foo='CLAUDE_CONFIG_DIR=~/.claude-foo command claude'
alias claude-default='CLAUDE_CONFIG_DIR=~/.claude command claude'
- Run
claude-foo. - Run
/plugin - Install a plugin, e.g.
frontend-design exit- Run
claude-default - Run
/plugin, go to Installed - Surprise!
frontend-pluginis there now.
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.98
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗