[BUG] /doctor reports Claude is not in path

Resolved 💬 2 comments Opened May 28, 2026 by emauro Closed Jun 1, 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?

Using Claude Code version 2.1.154 in Windows command /doctor reports the following:

⚠ Native installation exists but C:\Users\XXXXX\.local\bin is not in your PATH
└ Add it by opening: System Properties → Environment Variables → Edit User PATH → New → Add the path above. Then restart your terminal.

Path is the path. Claude get confused because the path contains c:\Users\XXXXX\.local\bin (c lowercase). It should be case insensitive in Windows.

What Should Happen?

/doctor nshould not report the missing path

Error Messages/Logs

Steps to Reproduce

  • Change the path of Claude Code to have the drive letter lowercase.
  • Open terminal and start Claude Code
  • Run /doctor

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.154

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

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