[BUG] claude doctor hangs at "Press Enter to continue" on macOS
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?
Bug: claude doctor hangs at "Press Enter to continue" on macOS
Environment:
macOS (M4 Pro)
Claude Code 2.1.19 (native install)
Shell: zsh
Steps to reproduce:
Run claude doctor
Diagnostics display successfully
Prompt shows "Press Enter to continue…"
Press Enter — nothing happens
Observed behavior:
Enter key is not recognized
Ctrl+C does not interrupt
Only Ctrl+Z (suspend) works to escape
Process must be manually killed with kill -9 %1
Expected behavior:
Enter should dismiss the prompt and return to shell
Ctrl+C should interrupt and exit cleanly
Notes:
This appears to be an input handling issue specific to the doctor command's prompt. The diagnostics themselves complete successfully and show all systems healthy. Only the interactive prompt at the end is broken.
What Should Happen?
Enter should dismiss the prompt and return to shell
Ctrl+C should interrupt and exit cleanly
Error Messages/Logs
None. The command hangs silently with no error output.
Steps to Reproduce
Steps to reproduce:
Run claude doctor
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.19 (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 ↗