Opening Claude Code has no display - MacOS
Resolved 💬 19 comments Opened Feb 27, 2025 by bearded-giant Closed Mar 10, 2025
💡 Likely answer: A maintainer (bcherny, collaborator)
responded on this thread — see the highlighted reply below.
Just installed Claude Code and when opening, nothing is printed to to screen nor is it there hidden as it's not selectable. If I quit Claude Code, I then see the output. I can actually interact with the menus via the keyboard, I just cannot see what I'm doing.
MacOS 15.3.1
Tried on Wezterm, Ghostty, and Terminal. Both in tmux pane and out of tmux, still nothing.
19 Comments
Interesting.. using terminal app without tmux, you see nothing?
Correct, nothing until I quit. I can use the arrows and Enter to log in (once I remember what's on the screen) but yeah, nothing visible. Never seen this before in general. Very strange.
made a quick mov to show how it is working
Couldn't attach the file itself, hope this helps show what I'm describing. That is Wezterm and no tmux, but it's the same for any of them.
Similar issue. Tried Zed, VSCode, Warp, Hyper and the native terminal
Apple M1 Max / macOS 15.3.1 (24D70)
<img width="942" alt="Image" src="https://github.com/user-attachments/assets/fc4a858c-bc18-46c2-90c5-2f6f98e26943" />
Same issue, tried multiple terminals and tried output buffer solvers. But still the same, can interact but nothing visual.
nodejs 20+, M4 pro macos 15.1
I'm also experiencing this issue:
MacOS 14.6.1 (23G93)onzsh 5.9 (x86_64-apple-darwin23.0)andbash 3.2.57(1)-release (x86_64-apple-darwin23). Ran zsh withzsh -o NO_RCSso ruling out my own configurationWas able to get successful oauth, when I see the blank screen and press enter I get the claude code ascii art. Commands like
claude --helpand--configthat don't useinkrun successfully.confirmed that raw mode does work in my env:
with
NODE_DEBUGReally interested in experimenting with claude code, happy to run other tests locally if it helps you all narrow down the cause of this.
Hi,
i had the same issue as described above, but now i was able to fix it. I thought it could have something to do with my installed zsh. So i change my default terminal back to bash and it worked. So I had a look at my .zshrc and checked what did I configure. Tried to change plugins and so on and then started with a new .zshrc with just minimal configs there. Just so that oh my zsh was working, a theme was set and the git plugin was installed. I then added config from my old config file line by line and checked if claude was still working. I then discovered that setting the environment variable CI_JOB_TOKEN which is normally set within a gitlab ci broke the ui of claude. If I just unset this variable everything works as expected. Maybe this can help you too!
OK wow, yeah this was it exactly. unset CI_JOB_TOKEN and the UI renders. Thank you @hollesse, and yeah this for sure needs a fix on the Anthropic side as that token is sort of important for many of us. Mystery solved at least.
@bryangrimes I am happy to help :)
@hollesse this is awesome! thank you so much for tracking this down. I can confirm that this can be reproed with
CI_JOB_TOKEN=1 claudewe will have the fix in the next release
CI_JOB_TOKENended up not being the issue for me, and inspired by @hollesse I binary searched through my env and found outCI_COMMIT_SHORT_SHAalso causes it to hang.Hi everyone, thanks for this report. We tracked this down to the way that our rendering detects it is running in CI: if any env var that starts with CI_ is set, it thinks it is!
~As of yesterday, we patched this so that claude will think it is in CI iff the env var
CIis set.~ We'll also add a warning at startup if this is detected.This fix is not yet rolled out externally.
@wolffiex so this is already part of release 0.2.32?
~yes~ no
@wolffiex Hm interesting, but I still see the same behavior and no warning.
<img width="682" alt="Image" src="https://github.com/user-attachments/assets/88efa258-769e-4667-8b21-67adca6084cf" />
my bad, this fix is not rolled out externally yet. I'll keep this open for now
This is fixed in 0.2.36. Restart to update.
This is not fixed yet - see #677
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.