Overview
While cmd’s agent mode can autonomously take on complex tasks, you might prefer to bring in an external agent.Setting up Claude Code gives you access to powerful agentic capabilities through cmd’s native interface in Xcode.
Prerequisites
Before configuring Claude Code in cmd, you need to have Claude Code installed and set up on your system.1
Install Claude Code
Follow the official setup guide to install Claude Code.
2
Verify Installation
Ensure Claude Code is working properly by running it from your terminal:
3
Login in Claude Code
Launch Claude Code in your terminal to authenticate (either with an API key or an Anthropic subscription)
Configuring Claude Code in cmd
Once Claude Code is installed and configured, you can enable it in cmd:1
Open AI Provider Settings
Go to Settings > AI Providers in cmd
2
Configuration
cmd should automatically detect where Claude Code is installed on your system.Otherwise, or if you need specific launch arguments, you can manually specify how to launch Claude Code
- Click “Add Provider” or “Configure” for Claude Code
- Provide the path to the Claude Code binary
- Optionally, specify a custom command if you use a specific way to run Claude Code
Example: Using mise
Example: Using mise
If you run Claude Code via
mise, you can specify:Example: Direct binary path
Example: Direct binary path
If you have Claude Code installed in a specific location:
Example: npm global install
Example: npm global install
If installed via npm globally:
3
Enable Claude Code
Toggle “Enable” for Claude Code
Using Claude Code
Once enabled, Claude Code will appear in your model selection:1
Select Claude Code
In the cmd interface, open the model selector and choose “Claude Code”
2
Start Using
You can now use Claude Code’s advanced agentic capabilities:
- Multi-step task execution
- Integrates with your existing Claude Code configuration, include
CLAUDE.md - Rich native UI in cmd

