claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

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

Open agdhruv opened this issue 8 months ago • 0 comments

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

agdhruv avatar May 28 '25 22:05 agdhruv