Clawdia on macOS VMs (Sandboxing)
Recommended default (most users)
- Small Linux VPS for an always-on Gateway and low cost. See VPS hosting.
- Dedicated hardware (Mac mini or Linux box) if you want full control and a residential IP for browser automation. Many sites block data center IPs, so local browsing often works better.
- Hybrid: keep the Gateway on a cheap VPS, and connect your Mac as a node when you need browser/UI automation. See Nodes and Gateway remote.
macOS VM options
Local VM on your Apple Silicon Mac (Lume)
Run Clawdia in a sandboxed macOS VM on your existing Apple Silicon Mac using Lume. This gives you:- Full macOS environment in isolation (your host stays clean)
- iMessage support via BlueBubbles (impossible on Linux/Windows)
- Instant reset by cloning VMs
- No extra hardware or cloud costs
Hosted Mac providers (cloud)
If you want macOS in the cloud, hosted Mac providers work too:- MacStadium (hosted Macs)
- Other hosted Mac vendors also work; follow their VM + SSH docs
Quick path (Lume, experienced users)
- Install Lume
lume create clawdia --os macos --ipsw latest- Complete Setup Assistant, enable Remote Login (SSH)
lume run clawdia --no-display- SSH in, install Clawdia, configure channels
- Done
What you need (Lume)
- Apple Silicon Mac (M1/M2/M3/M4)
- macOS Sequoia or later on the host
- ~60 GB free disk space per VM
- ~20 minutes
1) Install Lume
~/.local/bin isn’t in your PATH:
2) Create the macOS VM
3) Complete Setup Assistant
In the VNC window:- Select language and region
- Skip Apple ID (or sign in if you want iMessage later)
- Create a user account (remember the username and password)
- Skip all optional features
- Open System Settings → General → Sharing
- Enable “Remote Login”
4) Get the VM’s IP address
192.168.64.x).
5) SSH into the VM
youruser with the account you created, and the IP with your VM’s IP.
6) Install Clawdia
Inside the VM:7) Configure channels
Edit the config file:8) Run the VM headlessly
Stop the VM and restart without display:Bonus: iMessage integration
This is the killer feature of running on macOS. Use BlueBubbles to add iMessage to Clawdia. Inside the VM:- Download BlueBubbles from bluebubbles.app
- Sign in with your Apple ID
- Enable the Web API and set a password
- Point BlueBubbles webhooks at your gateway (example:
https://your-gateway-host:3000/bluebubbles-webhook?password=<password>)
Save a golden image
Before customizing further, snapshot your clean state:Running 24/7
Keep the VM running by:- Keeping your Mac plugged in
- Disabling sleep in System Settings → Energy Saver
- Using
caffeinateif needed
Troubleshooting
| 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 lume get clawdia again |
| Lume command not found | Add ~/.local/bin to your PATH |
| WhatsApp QR not scanning | Ensure you’re logged into the VM (not host) when running clawdia channels login |
Related docs
- VPS hosting
- Nodes
- Gateway remote
- BlueBubbles channel
- Lume Quickstart
- Lume CLI Reference
- Unattended VM Setup (advanced)
- Docker Sandboxing (alternative isolation approach)
