Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
Use a macOS VM when you specifically need macOS-only capabilities (iMessage/BlueBubbles) or want strict isolation from your daily Mac.
Run OpenClaw in a sandboxed macOS VM on your existing Apple Silicon Mac using Lume.
This gives you:
If you want macOS in the cloud, hosted Mac providers work too:
Once you have SSH access to a macOS VM, continue at step 6 below.
lume create openclaw --os macos --ipsw latestlume run openclaw --no-displaybash/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/lume/scripts/install.sh)"
If
~/.local/binbashecho 'export PATH="$PATH:$HOME/.local/bin"' >> ~/.zshrc && source ~/.zshrc
Verify:
bashlume --version
Docs: Lume Installation
bashlume create openclaw --os macos --ipsw latest
This downloads macOS and creates the VM. A VNC window opens automatically.
In the VNC window:
After setup completes, enable SSH:
bashlume get openclaw
Look for the IP address (usually
192.168.64.xbashssh youruser@192.168.64.X
Replace
youruserInside the VM:
bashnpm install -g openclaw@latest openclaw onboard --install-daemon
Follow the onboarding prompts to set up your model provider (Anthropic, OpenAI, etc.).
Edit the config file:
bashnano ~/.openclaw/openclaw.json
Add your channels:
json5{ channels: { whatsapp: { dmPolicy: "allowlist", allowFrom: ["+15551234567"], }, telegram: { botToken: "YOUR_BOT_TOKEN", }, }, }
Then login to WhatsApp (scan QR):
bashopenclaw channels login
Stop the VM and restart without display:
bashlume stop openclaw lume run openclaw --no-display
The VM runs in the background. OpenClaw's daemon keeps the gateway running.
To check status:
bashssh youruser@192.168.64.X "openclaw status"
This is the killer feature of running on macOS. Use BlueBubbles to add iMessage to OpenClaw.
Inside the VM:
https://your-gateway-host:3000/bluebubbles-webhook?password=<password>Add to your OpenClaw config:
json5{ channels: { bluebubbles: { serverUrl: "http://localhost:1234", password: "your-api-password", webhookPath: "/bluebubbles-webhook", }, }, }
Restart the gateway. Now your agent can send and receive iMessages.
Full setup details: BlueBubbles channel
Before customizing further, snapshot your clean state:
bashlume stop openclaw lume clone openclaw openclaw-golden
Reset anytime:
bashlume stop openclaw && lume delete openclaw lume clone openclaw-golden openclaw lume run openclaw --no-display
Keep the VM running by:
caffeinateFor true always-on, consider a dedicated Mac mini or a small VPS. See VPS hosting.
| Problem | Solution |
|---|---|
| Can't SSH into VM | Check "Remote Login" is enabled in VM's System Settings |
| VM IP not showing | Wait for VM to fully boot, run text lume get openclaw |
| Lume command not found | Add text ~/.local/bin |
| WhatsApp QR not scanning | Ensure you're logged into the VM (not host) when running text openclaw channels login |
© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine