How to set up Warp agentic terminal with Claude Code agent on macOS 2025

How to Set Up Warp Agentic Terminal with Claude Code Agent on macOS 2025

Warp is an agentic development environment that transforms your terminal into an AI-powered coding workspace. Unlike traditional terminals, Warp lets you integrate coding agents like Claude Code, Codex, and Gemini CLI directly into your development workflow. If you're a macOS developer looking to automate routine tasks, debug faster, and leverage AI assistants in your terminal, this guide walks you through the complete setup.

Why Warp with Claude Code Agent?

Before jumping into setup, understand what makes this combination powerful. Warp was born out of the terminal but extends far beyond traditional shell functionality. The Claude Code agent specifically excels at:

  • Code generation and refactoring: Write specs and implement changes in real-time
  • Issue triage and analysis: Automatically categorize and prioritize GitHub issues
  • PR reviews: Provide intelligent code review feedback
  • Multi-file context awareness: Understand your entire project structure

OpenAI's partnership (as the founding sponsor) means Warp's core agent workflows use proven GPT models, but you can bring your own agent like Claude Code for specialized tasks.

Prerequisites

Before starting, ensure you have:

  • macOS 11 or later (Warp supports M1/M2/Intel architectures)
  • At least 2GB free disk space
  • An active Claude API key (if using Claude Code agent)
  • Git installed (verify with git --version)
  • Terminal familiarity (basic command-line knowledge)

Step-by-Step Installation Guide

Step 1: Download Warp for macOS

Head to warp.dev/download and select the macOS installer. Warp provides native binaries for both Apple Silicon and Intel processors—the download automatically detects your architecture.

Alternatively, install via Homebrew:

brew install --cask warp

This method is faster and integrates with your package manager for future updates.

Step 2: Launch Warp and Complete Initial Setup

Open Warp from your Applications folder or run:

open /Applications/Warp.app

On first launch, Warp displays an onboarding wizard. You'll need to:

  1. Choose your shell preference (zsh, bash, fish, or nushell)
  2. Connect your GitHub account (optional but recommended for issue tracking)
  3. Accept telemetry settings (fully customizable)

Unlike traditional terminals, Warp stores command history and metadata to enable AI features—this is configurable in settings.

Step 3: Configure Claude Code Agent Integration

Warp supports multiple agents out of the box. To use Claude Code:

  1. Navigate to SettingsAgents
  2. Select Add Agent and choose Claude Code
  3. Paste your Claude API key (get one at console.anthropic.com)
  4. Set agent permissions:
    • File system access: Allow read/write for your project directories
    • Command execution: Enable to let Claude execute shell commands
    • Git operations: Permit PR creation and branch management
# Verify your agent is active
warp agent list

You should see output confirming Claude Code is registered and ready.

Step 4: Test Your First Agentic Command

Warp's syntax for invoking agents differs from traditional terminals. Use the @agent prefix:

@claude-code write a function to fetch data from an API

Claude Code will:

  • Generate code in your active project context
  • Provide inline explanations
  • Allow you to review before execution

For more complex tasks, provide file context:

@claude-code review my src/api.ts file for security issues

Comparison: Warp vs Traditional Terminal Workflow

| Feature | Warp + Claude Code | Standard Terminal | VS Code Terminal | |---------|------|---|---| | AI agent integration | Native, multi-agent support | Manual, via scripts | Limited to extensions | | Command search | Semantic (AI-powered) | Regex-based history | Basic autocomplete | | Issue triaging | Automated with GitHub API | Manual | Requires external tools | | PR workflow | Agent-assisted generation | Manual git commands | Extension-dependent | | Learning curve | Moderate (agent syntax) | Low (standard bash) | Moderate | | Performance | GPU-accelerated on M1/M2 | Lightweight | Variable |

Common macOS-Specific Issues

Issue: "Warp cannot access Documents folder"

Solution: Grant Warp file system permissions:

  1. Open System PreferencesSecurity & PrivacyFiles and Folders
  2. Find "Warp" in the list
  3. Enable Documents Folder access

Alternatively, from the terminal:

xattr -d com.apple.quarantine /Applications/Warp.app

Issue: Claude Code Agent Won't Authenticate

Diagnosis: Verify your API key has correct permissions:

echo $ANTHROPIC_API_KEY  # Should show masked key

If empty, set it explicitly:

export ANTHROPIC_API_KEY='sk-ant-xxxxx'
echo $ANTHROPIC_API_KEY >> ~/.zshrc  # Persist across sessions

Issue: Slow Command Execution on Intel Macs

If you're on Intel architecture and experience lag:

  1. Check Warp's resource usage: Activity Monitor → filter "Warp"
  2. Disable GPU acceleration in SettingsAdvanced
  3. Reduce agent context window size (fewer files analyzed per query)

Optimizing Your Warp + Claude Code Workflow

Set Up Project-Specific Agents

Create a .warprc file in your project root:

agent:
  default: claude-code
  context_size: 8000  # tokens for file context
  auto_execute: false  # require approval before running commands
  
paths:
  include:
    - src/
    - lib/
  exclude:
    - node_modules/
    - .git/

Warp reads this on startup and configures Claude Code's behavior per-project.

Keyboard Shortcuts for Power Users

  • Cmd+Shift+A: Invoke agent menu
  • Cmd+K: Clear terminal (respects history)
  • Cmd+Shift+L: View command suggestions
  • Cmd+R: Semantic search through command history

Leveraging Oz for Open Source Projects

If you maintain an open-source project, Warp's Oz for OSS program provides free agent credits. This enables:

  • Automated issue triage
  • PR review workflows
  • Community management
  • Contributor coordination

Apply here and monitor your project's agent activity at build.warp.dev.

Migration Tip: From iTerm2 to Warp

If switching from iTerm2, migrate your preferences:

# Export iTerm2 profiles
cp ~/Library/Preferences/com.googlecode.iterm2.plist ~/iterm2-backup.plist

# Warp will auto-detect your current shell and history
# No manual migration needed—your command history carries over

Next Steps

  1. Explore the Warp documentation at docs.warp.dev
  2. Join the community in the #oss-contributors Slack channel at go.warp.dev/join-preview
  3. Customize your agent by reviewing Claude Code's capabilities in the Settings panel
  4. Contribute back to Warp's open-source codebase if you find improvements

Warp fundamentally changes how developers interact with their environment. By integrating Claude Code agents directly into your macOS terminal, you're automating routine tasks and freeing mental energy for higher-level problem-solving. Start small with code generation, then graduate to complex workflows like automated issue triage and PR reviews.

Recommended Tools