[Bug] Doctor command reports false positive for leftover npm installation

Resolved 💬 2 comments Opened Feb 15, 2026 by Daniel-Peder Closed Feb 15, 2026

Bug Description
the doctor feature still reporting lefover installation:
dan@Dan25:~$ cld doctor

Diagnostics
└ Currently running: native (2.1.32)
└ Path: /home/dan/.local/share/claude/versions/2.1.32
└ Invoked: /home/dan/.local/share/claude/versions/2.1.32
└ Config install method: native
└ Search: OK (bundled)
Warning: Multiple installations found
└ npm-global at /home/dan/.local/bin/claude
└ native at /home/dan/.local/bin/claude
Warning: Leftover npm global installation at /home/dan/.local/bin/claude
Fix: Run: npm -g uninstall @anthropic-ai/claude-code

Updates
└ Auto-updates: enabled
└ Auto-update channel: stable
└ Stable version: 2.1.32
└ Latest version: 2.1.42

Version Locks
└ No active version locks

Press Enter to continue…
dan@Dan25:~$ npm list -g @anthropic-ai/claude-code
/home/dan/.local/lib
└── (empty)

suggested removal of /home/dan/.local/bin/claude and reinstallation done, the message still remains same
see also the symlink:
dan@Dan25:~$ ll /home/dan/.local/bin/claude
lrwxrwxrwx 1 dan dan 45 2026-02-15 17:04 /home/dan/.local/bin/claude -> /home/dan/.local/share/claude/versions/2.1.32*

Environment Info

  • Platform: linux
  • Terminal: gnome-terminal
  • Version: 2.1.32
  • Feedback ID: ddd89a34-0f22-4ba4-84d6-894dd4fe2f45

Errors

  • none

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗