>Install OpenClaw on Mac
Install via Homebrew, configure API keys, and launch your first bot in 15 minutes.
Install Homebrew (if you haven't)
Open Terminal (Cmd+Space → Terminal) and run:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Verify brew is installed:
brew --version
Install OpenClaw
Add the tap and install OpenClaw:
brew tap openclaw/tap
brew install openclaw
Check the version (should be 2026.3.x):
openclaw --version
Configure API Keys
Run the setup wizard. It will ask for your OpenRouter or other provider API key:
openclaw setup
Or configure manually via environment variables:
export OPENROUTER_API_KEY="sk-or-v1-your-key-here"\nexport OPENCLAW_MODEL="anthropic/claude-sonnet-4-6"
Tip: add these lines to ~/.zshrc so you don't have to enter them every time.
Launch Your First Bot
Create a project directory and launch a bot:
mkdir ~/my-first-claw && cd ~/my-first-claw
openclaw new morning-briefing
Start the bot:
openclaw run
Verify Everything Works
Check status and logs:
openclaw status
openclaw logs --tail 20
✓ Done! Your first OpenClaw bot is running on Mac.