Setting up your spare Mac for Claude Code to control, a step-by-step guide
ykev
212 points
140 comments
July 18, 2026
Related Discussions
Found 5 related stories in 658.9ms across 14,015 title embeddings via pgvector HNSW
- The Complete Claude Setup Checklist: 72 Steps from Default to Power User jungard · 11 pts · April 30, 2026 · 64% similar
- My Claude Code Setup: Pure CLI, Pure Unix, Zero IDE stare_spb · 13 pts · May 06, 2026 · 63% similar
- How I'm Productive with Claude Code neilkakkar · 161 pts · March 23, 2026 · 61% similar
- Claude Code as a Daily Driver: Claude.md, Skills, Subagents, Plugins, and MCPs arps18 · 390 pts · May 27, 2026 · 59% similar
- Running Claude Code Offline on an M3 Pro with Qwen3.6 har-ki · 18 pts · June 11, 2026 · 58% similar
Discussion Highlights (20 comments)
addajones
I currently have Claude Desktop installed on a separate Mac mini M4 and control it with Dispatch. Is there a reason to do this method, it still seems the way I have it setup it has full control over the local account I gave it on the Mac mini.
schainks
Dispatch works great, and I have reversed the setup so Claude can ssh-spawn sessions on my homelab for non-Mac dependent work
rootsudo
I’ve been doing something similar with an old m2. It isn’t powerful enough for local models, well sufficient local models but for openclaw and Claude it’s been perfect. MacBook m1/m2 also are cheap enough now vs an Mac mini which I was surprised about, not too surprised but yeah..
deadbabe
I still don't understand what these freaks are doing running these agents 24/7 on machines. What are they doing? Managing a todo list? You mean crossing items off as you complete them? Research tasks? To do what? Never really get good answers. There is no killer app. Just bikeshedding.
dchuk
I just redid my homelab/media server (switched from an old NUC I couldn’t figure out how to stop overheating even with some decent modification work, now using an hp elitedesk with an i5 processor that is handling my stack nicely). Thinking about setting up a vm on the base ubuntu install for isolation to run Claude in. May play with dispatch, may just put raw Claude code then use Moshi app on my iPhone and iPad.
catoc
I just cannot come up with a good AI-is-actually-24/7-helping-me-out use case. Please help: I wánt to need this!
weard_beard
I've been putting off learning Claude and this article had me strongly considering jumping in. Then I looked up Anthropic pricing and its 100x more convoluted than cloud services management. Its a goddamn full time job and independent skill set figuring out how to prevent going bankrupt from AI usage! I think I'm gonna be a late adopter on this one until the industry figures out a less cumbersome pricing model.
guluarte
i just use terminus + wireguard + tmux and works great, i can control claude/codex from my phone while working out
threethirtytwo
What's a good way to give a limited amount of money to the LLM, say like 2k or 5k or something. But keep it completely separate from my identity. Like I want the LLM to have a bank account and he can do ANYTHING with that bank account that he wants. But he can't fuck anything up that has to so with me. He only has 2 - 5k
arxari
> setting up your spare Mac as one has
brandnewideas
You people are too far gone
somewhatrandom9
Though it doesn't get by all the hurdles mentioned, it is alternatively possible to run Mac OS in a VM on your Mac using UTM and install Claude Code within the UTM VM. UTM can be run under a non-admin Mac account. This can allow you to use most Mac-native tooling, at least. The interactive performance of using the Claude Code ui on the VM isn't great, however. I'm not sure if you can log into the VM via terminal on the host from the non-root admin account to avoid the ui performance issues.
drnick1
Giving sudo permissions to an agent seems reckless. Claude gets his own unprivileged UNIX account, no more. I don't bother with containers or VMs however.
esaym
Outside of the article's mentioned graphics development, there is no reason to isolate an agent using actual hardware. I threw together this script[0] using libvirt to give claude its own graphical desktop env to be able to do user acceptance testing with Chrome. It has full root and can do what ever. If it makes a mess, I can dump and reinstall in seconds. 0: https://gist.github.com/smith153/04b4068b5a2d7b234f1c3d5992d...
spikk
If I had one I would definitely try creating a separate VLAN for it to control, otherwise it's isolated from your files but still has access to your network and devices in it.
TekMol
Why a laptop at all? Why not just use a VM in the cloud and just a CLI interface?
smetannik
Why a spare machine has to be exactly a mac ? For iMessage?
nunez
This is the paranoia talking, but given that Claude is going to be doing its own thing, I would put this box in its own VLAN or behind deny-all firewall rules to protect against network escapes.
languagehacker
I've done this before as a free replacement for my OpenClaw bot. It loses its connection sometimes and you need to redo the handoff with your phone. But otherwise, nice to have a use for my old Mac. It's also running my Home Bridge, which Claude can interact with. Pretty cool.
Havoc
It's so strange to me that tech crowd uses macs for use cases that spend all their time idle or serve some light http request. It's a glorified API gateway...it could run on a medium sized potato Almost like an entire generation just grew up coding on macbooks as the obvious choice for coders and just can't conceptualize hardware outside of that walled garden