[BUG] MAX login fails if claude running in tmux on OSX
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 think this may be more of a documentation issue than anything. I've been having the persistent problem of being able to log into claude max from the terminal (or from cursor/vscode). I remembered that prior I had had an OSX keychain problem when running in tmux, and tried logging in from a terminal without tmux, and bam, it worked. Something in tmux appears to interfere with OSX's ability to handle certain keychain operations.
What Should Happen?
Claude should be able to log in when using tmux on osx, or should detect that it can't access the keychain and report to the user that it can't log in on osx if running in tmux
Error Messages/Logs
Steps to Reproduce
- /logout
- start up tmux
- run claude
- /login, using a max sub
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.25
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
_No response_
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗