Prerequisites
Two things need to be in place first: Homebrew and a recent Node.js. If you don't have Homebrew, install it from brew.sh with the one-line script on that page. Then check Node:
node -v
If it's not there or it's old, install a current LTS via Homebrew or a version manager. OpenClaw needs Node 22.16 or newer, so don't skip this check.
Install
The Homebrew path is the clean one on a Mac:
brew install openclaw
If the formula name or tap has changed since I wrote this, check the official install page and use the current command. The installer will walk you through onboarding — model credential, a message channel, and a permission level.
First run
Start it and confirm it answers:
openclaw
Send yourself a test message through whichever channel you configured. If it replies, you're up. If not, the most common macOS cause is the next section.
macOS gotchas
macOS is stricter about what a background process can touch. Two things bite people here:
- Full Disk Access. If the agent can't read your files, macOS is blocking it. Add the terminal app you run it from to System Settings → Privacy & Security → Full Disk Access.
- Background execution. Closing the terminal kills the agent the same way closing a laptop lid does. If you want it always on, run it under
launchd(the macOS equivalent of systemd) or just keep it in a tmux session.
For a machine that's on 24/7 anyway, the VPS route is often less friction than fighting macOS's permission model. But for a daily-driver Mac, a local install is the right call — your files are already here.