Setup guides
Set up an always-on machine
Turn a Mac mini or spare Mac into a headless Picnic worker that stays awake, restarts after a power cut and runs jobs while you sleep.
The best Picnic setups have at least one machine that never sleeps: a Mac mini on a shelf, a Mac Studio at the office or an old MacBook with the lid open. It runs jobs overnight and while your laptop is closed, and you reach it from anywhere through the relay. This page covers the settings that keep it working with nobody at the keyboard.
Picnic's setup checks cover every item here. The quick way: open Picnic on the machine, choose it in the Factory tab, click Quick setup and pick Always-on machine. Picnic installs the tools, changes the power settings below in one password prompt and lists the logins left to do. The rest of this page is what it does, and how to do it by hand.
Keep it awake
A Mac that sleeps stops its jobs. Turn system sleep and disk sleep off:
sudo pmset -a sleep 0 disksleep 0
The display can sleep. That's fine, jobs keep running with the screen off.
Check what is set with:
pmset -g custom
Restart after a power cut
So the machine comes back on its own after a power cut:
sudo pmset -a autorestart 1
Laptops don't offer this, because they run on battery instead. The check shows amber on a laptop and that's expected.
Wake for network access
sudo pmset -a womp 1
This lets the Mac wake for network access. With sleep off it rarely matters, but it helps if something does put it to sleep.
Note: These commands need an administrator password, so Picnic can't run them for you. The setup checks show each command with a copy button; paste it into Terminal on the machine.
Log in unattended after a reboot
Jobs need a logged-in user session: the Keychain holds the Claude Code, Codex and GitHub logins, and the iOS Simulator needs a session to run. After a reboot a Mac waits at the login window until someone logs in. You have two choices.
Keep FileVault on and log in over Screen Sharing
This is the safer choice and the one we recommend. After a reboot, connect with Screen Sharing from another Mac and log in. Picnic starts and the machine reconnects to the relay. The check Starts unattended after a reboot stays amber as a reminder, and that's fine.
Turn FileVault off and use automatic login
The machine logs straight in after a reboot, with nobody needed. Turn FileVault off in System Settings > Privacy & Security, then set automatic login in System Settings > Users & Groups. The check goes green. Only do this for a machine kept somewhere physically safe, because anyone who takes it can read its disk.
Turn on Screen Sharing
In System Settings > General > Sharing, turn on Screen Sharing. It's how you log in after a reboot, and how you look at a job on a metadata-only machine whose content stays on that machine.
The Logged in check is red when nobody is logged in (the machine is at the login window) and amber when a different user has the screen. Fix both over Screen Sharing.
Open Picnic at login
Add Picnic to System Settings > General > Login Items, so it starts with the session. The background agent starts with the app.
Tools for every mode
| Tool | Needed for | Install |
|---|---|---|
| Claude Code | Every Claude Code job | curl -fsSL https://claude.ai/install.sh | bash, then claude auth login |
| GitHub CLI | Pull requests, CI, merges | brew install gh, then gh auth login |
| ffmpeg | Demo videos | brew install ffmpeg |
| Playwright Chromium | Demo videos of web apps | npx -y playwright install chromium |
| Xcode and an iOS runtime | Mac and iOS jobs | Xcode from the App Store, then sudo xcodebuild -license accept |
Disk space
Worktrees, builds and simulators add up. Picnic is happiest with 20 GB free and suggests Cleanup below that, and under 15 GB jobs you start there wait until there's room. Cleanup, in the machine's panel, removes the worktrees of done jobs and what they left behind, such as Claude Code session logs and Xcode DerivedData. It runs by itself when free space falls under 20 GB (you can change the amount or turn it off), and you can also set it to run every hour, day or week. Unavailable simulators are the other usual culprit:
xcrun simctl delete unavailable
Run more than one job at once
A machine runs 2 jobs at once by default and queues the rest; the machine panel shows how many are running. Jobs waiting on you don't use a slot, so an unanswered question never holds up the queue.
Checklist
- Sleep disabled
- Restart after power cut
- Wake for network access
- Starts unattended after a reboot (or a plan to log in over Screen Sharing)
- Logged in
- Picnic relay connected
- Claude Code installed and logged in
- GitHub CLI logged in and git identity set
- Disk space above 20 GB
See also Setup checks and A machine is offline.
