The Mac Mini is quietly the best hardware for running OpenClaw. It’s silent, sips power (under 10W idle on Apple Silicon), runs macOS natively (unlocking Shortcuts, iMessage, Apple Notes, Calendar), and fits on a shelf. If you want a personal AI that’s always on — not dependent on cloud VMs or a loud desktop — this is the move.
Here’s the complete guide to setting it up.
Why Mac Mini?
| Factor | Mac Mini | Cloud VPS | Raspberry Pi |
|---|---|---|---|
| Power draw | ~7W idle | N/A ($$$/mo) | ~5W |
| macOS apps | ✅ Native | ❌ | ❌ |
| Performance | Excellent | Varies | Limited |
| iMessage/Shortcuts | ✅ | ❌ | ❌ |
| Noise | Silent | N/A | Silent |
| Monthly cost | ~$2 electricity | $5-50 | ~$1 |
| Setup complexity | Low | Medium | Medium |
The killer advantage: macOS integration. Your agent can read Apple Notes, manage Reminders, send iMessages, control Shortcuts, and access the Keychain. No other platform gives you this.
Hardware Recommendations
Minimum: Any Apple Silicon Mac Mini (M1, M2, M4)
- 8GB RAM is fine — OpenClaw itself uses minimal memory
- The AI models run in the cloud; your Mac Mini is the orchestrator
Sweet spot: Mac Mini M4 (base model)
- Plenty of headroom for local models via Ollama if you want them
- 16GB RAM lets you run 7B-13B parameter models locally
Overkill but amazing: Mac Mini M4 Pro
- Run larger local models (30B+)
- Handle multiple agents without breaking a sweat
For most users, the base M4 is perfect. OpenClaw’s heavy lifting happens on API providers, not locally.
Installation
1. Install Prerequisites
# Install Homebrew (if you haven't)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install Node.js
brew install node
# Install OpenClaw
npm install -g openclaw
2. Initial Configuration
# Run the setup wizard
openclaw init
This walks you through:
- API key configuration (Anthropic, OpenAI, or OpenRouter)
- Channel setup (Telegram, Discord, Slack, etc.)
- Basic agent personality
3. Test It
openclaw start
Send a message through your configured channel. If the agent responds, you’re golden.
Making It Always-On
The Mac Mini needs to survive reboots, sleep, and power outages.
Prevent Sleep
System Settings → Energy → Prevent automatic sleeping when the display is off ✅
Or via terminal:
sudo pmset -a sleep 0
sudo pmset -a disablesleep 1
Auto-Start on Boot
Create a launch agent:
mkdir -p ~/Library/LaunchAgents
Create ~/Library/LaunchAgents/com.openclaw.gateway.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.openclaw.gateway</string>
<key>ProgramArguments</key>
<array>
<string>/opt/homebrew/bin/openclaw</string>
<string>gateway</string>
<string>start</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>StandardOutPath</key>
<string>/tmp/openclaw.log</string>
<key>StandardErrorPath</key>
<string>/tmp/openclaw-error.log</string>
</dict>
</plist>
Load it:
launchctl load ~/Library/LaunchAgents/com.openclaw.gateway.plist
Now OpenClaw starts automatically on boot and restarts if it crashes.
Power Failure Recovery
System Settings → Energy → Start up automatically after a power failure ✅
sudo pmset -a autorestart 1
Combined with the launch agent, your Mac Mini recovers from power outages fully autonomously.
Remote Access
You probably don’t have a monitor connected to your Mac Mini. Here’s how to manage it:
SSH (Primary)
# Enable on the Mac Mini
sudo systemsetup -setremotelogin on
# Connect from anywhere
ssh your-user@mac-mini.local
For access outside your local network, use Tailscale (free):
brew install tailscale
# Follow setup prompts
Screen Sharing (When Needed)
System Settings → General → Sharing → Screen Sharing ✅
Connect via Finder → Go → Connect to Server → vnc://mac-mini.local
OpenClaw Web Interface
OpenClaw’s gateway has a built-in web interface. Access it from any browser on your network:
http://mac-mini.local:3000
macOS-Specific Skills
This is where Mac Mini shines. Skills that only work on macOS:
Apple Notes (apple-notes skill)
"Create a note called 'Meeting Notes' in my Work folder"
"Search my notes for anything about pricing strategy"
Apple Reminders (apple-reminders skill)
"Add 'Review contracts' to my reminders due Friday"
"Show me all overdue reminders"
iMessage (imsg skill)
"Send an iMessage to Mom: Running 10 minutes late"
"Show my recent iMessage conversations"
Shortcuts Integration
Trigger any Apple Shortcut from your agent:
"Run my 'Good Morning' shortcut"
Calendar
Native macOS calendar access — no CalDAV configuration needed:
"What's on my calendar tomorrow?"
Optimization Tips
Reduce API Costs
Use model routing — cheap models for simple tasks, expensive ones for complex work:
{
"models": {
"default": "anthropic/claude-sonnet-4-20250514",
"thinking": "anthropic/claude-opus-4-6"
}
}
Sonnet handles 80% of tasks at 1/5 the cost of Opus. For more cost-saving strategies, see our guide on reducing OpenClaw API costs.
Local Models with Ollama
For privacy-sensitive tasks or to eliminate API costs entirely (see our full Ollama + OpenClaw guide):
brew install ollama
ollama pull llama3.1
Configure OpenClaw to use local models for routine tasks and cloud models for complex ones.
Monitoring
Check on your agent’s health:
openclaw status
openclaw gateway status
Set up a heartbeat cron that sends you a daily health check — confirms the system is running.
Storage Management
Daily notes and logs accumulate. Archive old files monthly:
# Move old daily notes
find ~/.openclaw/workspace/memory -name "202[0-5]-*.md" -exec mv {} ~/.openclaw/workspace/archives/ \;
Security Considerations
Your Mac Mini is a server now. Treat it like one (and read our complete security guide for the full picture):
- Enable FileVault — Full disk encryption (System Settings → Privacy & Security)
- Firewall on — System Settings → Network → Firewall
- Strong SSH keys — Disable password authentication
- Keep macOS updated — Enable automatic updates
- Limit OpenClaw’s gateway exposure — Bind to localhost or use authentication
# Check your OpenClaw security posture
openclaw status
The End Result
A silent, always-on AI assistant that:
- Costs ~$2/month in electricity
- Survives reboots and power outages automatically
- Has full access to your macOS ecosystem
- Runs overnight work sessions while you sleep
- Sends you a morning briefing before you wake up
- Manages your calendar, notes, messages, and reminders
No cloud VM to manage. No Docker containers to update. Just a Mac Mini on a shelf, quietly running your second brain 24/7.