OpenClaw is a powerful local AI agent that interacts via Telegram, WhatsApp, and other channels. Installing it on macOS is straightforward and provides a smooth, native experience. While any Mac works, many users prefer a Mac mini as a dedicated 24/7 AI server.
softwareupdate --install --all
OpenClaw requires Node.js v22 or higher. If you have Homebrew installed:
brew install node
The recommendation is to use the automated script which detects your system and installs OpenClaw globally.
curl -fsSL https://openclaw.ai/install.sh | bash
This process typically takes 1-5 minutes depending on your network.
Configure your AI models and messaging channels using the onboarding wizard.
openclaw onboard --install-daemon
--install-daemon flag registers OpenClaw as a
launchd service for 24/7 operation.~/.openclaw/workspace/./start to your bot on Telegram and try a command like "hello".openclaw status.| Issue | Description | Solution |
|---|---|---|
| Script Failure | curl errors or network timeouts during installation. | Check VPN/Network; download manually via curl -O https://openclaw.ai/install.sh and
run bash install.sh. |
| Node.js Version | Error message: "Requires Node.js ≥ 22". | Run brew upgrade node or install specifically via
brew install node@22 && brew link node@22. |
| Daemon Not Starting | Service doesn't start automatically after reboot. | Re-run openclaw onboard --install-daemon or check
launchctl list | grep openclaw. |
| Messaging Lag | Bot is unresponsive to messages. | Verify API token; ensure Mac is not in sleep mode (System Settings > Energy Saver). Run
openclaw restart. |
| Gatekeeper Alert | macOS blocks downloaded components. | Right-click > Open > Allow; or run xattr -cr /path/to/component to remove
quarantine. |
For 24/7 operation, use a dedicated Mac (like a Mac mini) and a non-primary
user account. Regularly back up your ~/.openclaw/ directory to preserve agent memory and
configurations.