[BUG] Native installer for Mac doesn't update PATH when using bash
Resolved 💬 3 comments Opened Mar 31, 2026 by jackjansen Closed Mar 31, 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?
I just installed claude code (the native installer, not the node.js one) on a Mac running 15.7.4, using instructions provided by claude. The install went fine, but ~/.local/bin wasn't added to PATH. I am using bash as my login shell.
Claude suggested I report this bug here.
What Should Happen?
The installer should have edited my .bashrc but it didn't.
Error Messages/Logs
Steps to Reproduce
- Use an account that has
bashas its login shell. - Run
curl -fsSL https://claude.ai/install.sh | bash - Open a new
Terminalwindow. - Note that
claudeisn't on yourPATH.
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.87 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗