Start with this one
How to Run Claude Code 24/7 on a Mac Mini: 7 Steps and the Janitor Jobs I Added After It Choked
Don't buy a Mac mini first. How I run Claude Code 24/7 on mine: no-sleep settings, a 5-minute sync, and the janitor jobs that keep it from choking.