[BUG] `claude install` removes claude binary
Resolved 💬 4 comments Opened Jan 26, 2026 by dabstractor Closed Feb 28, 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?
Yeah, I searched the existing issues. But you have over 5000 issues, I'm not claude. I searched, I'm sure there's one in there somewhere, but I couldn't find it.
So here's my bug report:
❯ npm i -g @anthropic-ai/claude-code
added 3 packages in 998ms
2 packages are looking for funding
run `npm fund` for details
❯ which claude
/home/dustin/.local/bin/claude
❯ claude install
✔ Claude Code successfully installed!
Version: 2.1.19
Location: ~/.local/bin/claude
Next: Run claude --help to get started
❯ which claude
claude not found
❯ ls ~/.local/bin/claude
ls: cannot access '/home/dustin/.local/bin/claude': No such file or directory
Arch linux btw. The binary is not in the location the output says it's in. It could be somewhere else on my drive, but it's not anywhere on my $PATH.
What Should Happen?
Oh come on...
Error Messages/Logs
Given.
Steps to Reproduce
Given.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
latest/none
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
Other? No tmux or alacritty or any of the terminals people use outside of macos on your list? You realize people hate apple, right? I have made a major mistake by not switching to opencode sooner.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗