Claude/Code/Q/Why do I have multiple installations when using mise?
Properties
- tags
- Claude/Code, mise, Q
- logseq-entity
- Logseq/Entity/Question
- date-created
- 2026/06/02
Why does Claude Code warn about multiple installations when managed via mise?
Symptom
Root cause
- The warning is triggered by an orphaned mise install directory left behind when switching from the npm mise backend to the native mise backend.
- Before (npm backend in
~/.config/mise/config.toml):toml"npm:@anthropic-ai/claude-code" = "latest" - After (native backend):toml
claude-code = "latest" - Changing the tool entry installs the native version but does not uninstall the old npm version. The orphaned directory remains at:
~/.local/share/mise/installs/npm-anthropic-ai-claude-code/ - Claude Code scans mise's installs directory and finds both, triggering the warning.
Fix
How to verify