[BUG] Claude Code setup wizard fails at the "Use Claude Code's terminal setup?" step

Resolved 💬 4 comments Opened May 28, 2025 by agdhruv Closed May 29, 2025

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

  1. npm install -g @anthropic-ai/claude-code
  2. claude
  3. Select dark mode
  4. Login with Claude.ai with Max mode subscription
  5. Accept the security warning
  6. 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

Additional Context

<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->

View original on GitHub ↗

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