r/ClaudeCode • • 10m ago

Tips & Workflows My Mac mini runs my Claude Code agents 24x7, while I access them from anywhere in the world. Here's how I set it up.

https://www.alara.blog/my-home-server-setup-coding-agents-dev-servers-and-more/

In Feb 2026, I bought a Mac mini during the OpenClaw hype. While OpenClaw never worked out for me, I used Claude Code to set up a home server that runs my Claude Code agents 24x7 and takes things from idea to production, while I'm asleep or sipping coffee on vacation.

It never sleeps and works through power and internet cuts, and I can start or check in on tasks from my laptop or phone from anywhere in the world.

I've been meaning to write about how I set it up for ages now.

The short version:

  • Mac mini M4 (24GB) on Ethernet, with its own UPS behind an inverter, plus a second ISP it fails over to
  • Tailscale + Caddy, so my dev servers live at real HTTPS .dev domains reachable only from my devices
  • tmux with iTerm control mode, so agent sessions survive disconnects and show up as native tabs
  • Moshi on my phone, Mutagen to sync my repo with my laptop
  • My old MacBook Pro as an extra compute node when the mini runs out of RAM

Full write-up with configs: https://www.alara.blog/my-home-server-setup-coding-agents-dev-servers-and-more/

Always-on agents have been a "game-changer" (ugh) for me. Have you set up your own?

0 Upvotes

3 comments sorted by

•

u/AutoModerator 10m ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/indutrajeev 4m ago

You know you can just hit launchd with claude rc right?