[BUG]

Resolved 💬 3 comments Opened Mar 4, 2026 by suckfish21 Closed Mar 8, 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?

Subject: Claude Code hangs on every invocation — no output, no error, macOS
Body:
Claude Code hangs silently on every invocation including non-interactive --print mode. No output, no error, no TUI renders. Cursor blinks and process suspends.
Environment:

macOS (MacBook Air)
Claude Code 2.1.68
Node v20.20.0, npm 10.8.2
Installed via Homebrew (/opt/homebrew/bin/claude)
Terminals tested: Terminal.app, iTerm2 — both exhibit identical behavior

Symptoms:

claude → blank screen, cursor blinks, hangs indefinitely
claude --print "hello" → no output, hangs
claude config set apiKey ... → hangs
Background run reveals: suspended (tty output) — process suspended by OS on TTY write
claude --version works fine (returns 2.1.68)

What's been tried:

Full uninstall/reinstall
Node downgrade v24 → v20
claude auth login completed successfully (oauthAccount confirmed in ~/.claude.json)
API key written directly to ~/.claude.json (primaryApiKey confirmed present)
stty -tostop before launch
xattr -d com.apple.quarantine — no quarantine flag present
Launched from multiple directories
npm permissions repaired

Request: Binary appears to hang on any TTY write attempt. Suspected issue with how the process handles stdout/stderr on this machine's TTY configuration.

What Should Happen?

I should be able to use Claude Code. it hangs up and never connects.

Error Messages/Logs

Steps to Reproduce

claude-code-bug-report.txt

Claude Model

Not sure / Multiple models

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.68 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

[](url)

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗