Agents & compute
I set up OpenClaw on my Mac mini without touching the mini
One command sent an agent to install OpenClaw at home. A second one put it on my laptop, without opening a port. Here are both, and the five things the OpenClaw docs leave out.
OpenClaw is an open-source agent you run yourself. I wanted it on my Mac mini at home, always on, and usable from my laptop. Three things got in the way: setting it up on a machine I wasn't sitting at, reaching it without opening a port, and the steps the docs leave out. Cerver handled the first two. Here's all of it, as I ran it on November 27.
1. Have an agent install it, from where you are
Once Cerver is on the mini, any agent can be started there from my laptop. So I didn't install OpenClaw myself. I sent the job (shortened here):
cerver run --on home-mini \
"Install OpenClaw. Turn on its API, localhost only.
Check it answers. Keep the keys in one file
and never print them."
A Claude Code agent did the work on the mini, as me, in about 10 minutes. It found the official installer, hit the snags below, fixed them, and reported back. Every step it took is saved, and I can read it with cerver show.
What the agent had to fix
- Node 24.16 or newer. My mini had Node 20. The official installer would have upgraded Node for the whole machine, so the agent used the other documented route instead:
nvm install 26, thennpm install -g openclaw@latest. - Onboarding comes first. Without it there's no config file, no token and no model, and the gateway won't start. The agent ran
openclaw onboardnon-interactively, on loopback, with the token kept in an environment variable rather than the file. - Turning on the chat endpoint means adding
"http": {"endpoints": {"chatCompletions": {"enabled": true}}}inside the existing"gateway"section, not replacing the file. - Where the token is: onboarding creates it;
openclaw gateway auth-token --showshows it. - The default model may not be on your plan. With a free Gemini key, the model onboarding picked failed with a rate-limit error.
openclaw models set google/gemini-3.1-flash-litefixed it.
Then openclaw gateway run. It answers at 127.0.0.1:18789 (and [::1]), model openclaw/default, with the gateway token as a Bearer token. Without it: 401.
2. Reach it from your laptop without opening a port
OpenClaw listens only on the mini (127.0.0.1:18789). Nothing on your network, or the internet, can reach it. From the laptop:
cerver forward home-mini 18789
Now http://localhost:18789 on the laptop is OpenClaw on the mini. The two machines connect directly, encrypted; the traffic doesn't pass through Cerver. Use your machine's name exactly as cerver computes shows it (here: home-mini).
Anything on the laptop that speaks the OpenAI chat format can now hand OpenClaw work: a script, Claude Code, a chat app. It's the same line for a bot running on another computer, as long as it can run Cerver.
One warning
OpenClaw's default tool profile is full: it can run commands on the mini. Whoever has the gateway token, and a line to it, has that power. Keep the token on the machines that need it, and nowhere else.
Your Mac mini, always working.
Install Cerver on the Mac mini, the spare MacBook or the office desktop, and run agents on any of them from your laptop or phone. Cloud computers are there when yours are busy. Plans start at $20 a month.