Want us to handle everything? Get fully managed hosting, free to start.
macOS
Any Mac with Apple Silicon or Intel
Run OpenClaw on your MacBook, iMac, or Mac Pro. Perfect for personal use or development.
When to Use This Guide
Personal Assistant
Run OpenClaw on your daily driver Mac for quick AI access.
Development
Test and develop with OpenClaw locally before deploying.
Home Use
Access from other devices on your home network.
Privacy First
Keep your data local, never leave your machine.
Pros and Cons
Advantages
- ✓Zero additional cost - Use your existing Mac
- ✓Easy setup - OrbStack/Docker Desktop have simple installers
- ✓Flexible messaging setup - Web chat and your preferred messaging flow can be configured on self-hosted installs
- ✓Complete privacy - Data stays on your Mac
- ✓Great for development - Test locally before deploying elsewhere
- ✓Native performance - Apple Silicon runs containers efficiently
Disadvantages
- ✗Not always-on - Depends on when you use your Mac
- ✗Laptop limitations - MacBooks sleep when lid is closed
- ✗Resource sharing - Docker competes with your daily apps
- ✗Remote access complexity - Need setup for access when away from home
- ✗Battery impact - Running Docker drains MacBook battery faster
Things to Consider
OrbStack vs Docker Desktop
OrbStack (Recommended): Faster, lighter (uses 50% less memory), native macOS integration, free for personal use. Starts in ~1 second.
Docker Desktop: Official Docker product, more features, but heavier and requires license for commercial use in larger orgs.
MacBook Sleep Behavior
MacBooks sleep when the lid is closed, stopping OpenClaw. Options: Use a desktop Mac for always-on, use "Amphetamine" app to prevent sleep, or accept that OpenClaw runs only when laptop is open.
When to Use This vs Mac Mini Guide
Use this guide: Personal use, development/testing, occasional AI access.
Use Mac Mini guide: 24/7 server, family/team access, production deployment.
Memory Considerations
8GB Macs work but leave little headroom for other apps. 16GB+ gives comfortable operation. OrbStack is more memory-efficient than Docker Desktop if you're constrained.
Looking for an always-on server?
If you want to run OpenClaw 24/7 as a dedicated server, consider our Mac Mini guide instead. Mac Mini is optimized for always-on operation with lower power consumption.
View Mac Mini / Mac Studio guide →Requirements
Hardware
- • Any Mac (2018 or newer recommended)
- • Apple Silicon (M1/M2/M3/M4) or Intel
- • 8GB RAM minimum
- • 10GB free storage
Software
- • macOS 12 Monterey or newer
- • Docker Desktop or OrbStack
- • Terminal access
Deployment Steps
Step 1: Install Homebrew (if not installed)
Homebrew is the easiest way to install software on macOS.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Step 2: Install Docker
Choose Docker Desktop or OrbStack (faster and lighter).
Option A: OrbStack (Recommended)
brew install --cask orbstackOption B: Docker Desktop
brew install --cask dockerAfter installing, open the app once to complete setup.
Step 3: Create OpenClaw directory
mkdir -p ~/openclaw && cd ~/openclawStep 4: Create docker-compose.yml
cat > docker-compose.yml << 'EOF'
version: '3.8'
services:
openclaw:
image: openclaw/openclaw:latest
container_name: openclaw
restart: unless-stopped
ports:
- "8080:8080"
environment:
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
- GATEWAY_TOKEN=${GATEWAY_TOKEN}
volumes:
- ./data:/app/data
EOFStep 5: Create .env file
cat > .env << 'EOF'
OPENROUTER_API_KEY=sk-or-your-key-here
GATEWAY_TOKEN=$(openssl rand -hex 32)
EOFReplace sk-or-your-key-here with your actual BYOK provider API key.
Step 6: Start OpenClaw
docker compose up -dOpenClaw will be available at http://localhost:8080
Managing OpenClaw
View logs
docker compose logs -fStop OpenClaw
docker compose downUpdate to latest version
docker compose pull
docker compose up -dRestart OpenClaw
docker compose restartAccess from Other Devices
Local Network Access
To access OpenClaw from other devices on your network:
- 1. Find your Mac's IP: System Settings → Network → Your connection → IP address
- 2. Access from other devices:
http://YOUR_MAC_IP:8080
Remote Access (Optional)
Access your OpenClaw from anywhere using Cloudflare Tunnel. Secure, no port forwarding required.
Follow our Cloudflare Tunnel guide →Troubleshooting
Docker not starting?
Make sure Docker Desktop or OrbStack is running. Check the app in your menu bar.
Port 8080 already in use?
Change the port in docker-compose.yml: "8081:8080" to use port 8081 instead.
Permission denied errors?
Run chmod -R 755 ~/openclaw to fix permissions.
Need Help?
Don't want to set it up yourself? We can help.