[BUG] misleading warning about ~/.local/bin
Status Closed — not planned
Maintainer reply None cached
Activity 8 comments · opened Sep 14, 2025 · closed Feb 9, 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?
Screenshot says it all
<img width="619" height="939" alt="Image" src="https://github.com/user-attachments/assets/c57e5711-fed6-4802-ac53-754170a0aedd" />
/status:
Claude Code v1.0.113
L Session ID: redacted
Working Directory
L /Users/redacted
Installation
L Native installation exists but ~/.local/bin is not in your PATH
L Add it by running: export PATH="~/.local/bin:$PATH"
IDE Integration • /config
✔ Connected to WebStorm extension
⚠ Error installing WebStorm plugin: Plugin source missing
Please restart your IDE or try installing from
https://docs.anthropic.com/s/claude-code-jetbrains
Account • /login
L Login Method: Claude Pro Account
L Organization: redacted Organization
L Email: redacted
Memory • /memory
L project: CLAUDE.md
Model • /model
L Sonnet Sonnet 4 for daily use
What Should Happen?
The warning should not show, since it's incorrect.
Error Messages/Logs
n/a
Steps to Reproduce
start claude code
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
v1.0.113
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
8 Comments
Thanks for logging this - I also get this warning on
2.0.8on zsh5.9on LinuxThis issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
I'm also seeing this for the latest version on macOS. Claude definitely isn't installed in
~/.local/bin.I tried to be clever and deleted said folder. Now it complains that the folder ain't there.
I'm also running into this issue when installing Claude Code via MacPorts, which installs the
claudebinary as/opt/local/bin/claude(or more generally${prefix}/bin/claude, because MacPorts allows customizing its installation prefix).Claude Code works fine, but
claude doctortells me to add~/.local/binto myPATH, even though~/.local/bindoesn't even exist.This can also be reproduced without using MacPorts:
claude doctorshould not recommend adding a non-existent directory to the user'sPATH.I _do_ think it would be a good recommendation to tell the user to add the directory
claudeis in to the user'sPATHwhen the the directory thatclaudeis in is not yet in the user'sPATH. It might be good to change the current implementation for this doctor check to this. So, in the example aboveclaude doctorcould recommend adding/Users/breun/some-directoryto the user'sPATHif it wasn't added.This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
Should be re-openend unless fixed.
This issue was closed incorrectly despite recent human comments. This behavior of the bot is reported at https://github.com/anthropics/claude-code/issues/16497. Please upvote that issue, so maybe it gets noticed.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.