[BUG] `/doctor` incorrectly reports native installation as inaccessible

Resolved 💬 3 comments Opened Sep 2, 2025 by rben01 Closed Sep 6, 2025

Environment

  • Platform (select one):
  • [X] Anthropic API (pro plan)
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.100
  • Operating System: macOS 15.6.1
  • Terminal: Terminal.app

Bug Description

Using the native install, I have added ~/.claude/local to my $PATH, yet /doctor reports that Claude is inaccessible because I removed the alias from my fish config.

Steps to Reproduce

  1. Using fish shell, run npm install -g @anthropic-ai/claude-code
  2. Run claude install to install the native version
  3. Claude will add an alias line to your fish config
  4. Add Claude to you $PATH and remove the alias, so that Claude is still accessible

Expected Behavior

As Claude is accessible, /doctor should report no issues

Actual Behavior

 Warning: Local installation not accessible
 Fix: Create alias: alias claude="~/.claude/local/claude"

Additional Context

/doctor should check for accessibility both via an alias and by running which claude, which checks the $PATH

View original on GitHub ↗

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