[BUG] Claude Code setup wizard fails at the "Use Claude Code's terminal setup?" step
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [x] Other: Claude Code
- Claude CLI version: 1.0.4 (Claude Code)
- Operating System: macOS 15.1 (24B83)
- Terminal: Terminal app (running zsh)
Bug Description
The setup wizard fails at the "Use Claude Code's terminal setup?" step with error message:
Error: Failed to enable Option as Meta key for Terminal.app. Your settings have been restored from backup. at e46 (file:///Users/username/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:716:2325) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ng1 (file:///Users/username/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:701:9601) Node.js v20.12.2
Steps to Reproduce
-
npm install -g @anthropic-ai/claude-code -
claude - Select dark mode
- Login with Claude.ai with Max mode subscription
- Accept the security warning
- Reach the "Use Claude Code's terminal setup?" step of the setup wizard. Choose "Yes, use recommended settings"
Expected Behavior
Reach the next step of the setup wizard
Actual Behavior
Error: Failed to enable Option as Meta key for Terminal.app. Your settings have been restored from backup. at e46 (file:///Users/username/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:716:2325) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ng1 (file:///Users/username/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:701:9601) Node.js v20.12.2