No Open Anyway button?
It only shows for about an hour after macOS stops Nightrun. Open Nightrun again, then go back to Privacy & Security.
Nightrun keeps your Mac awake while Claude Code, Codex and other AI agents work. Even with the lid shut. When they’re done, your Mac goes back to sleep.
Free · macOS 13 or later
Without Nightrun, the story ends at 23:41. Your Mac sleeps, and your agents stop mid-task.
23:41
Your Mac stays awake, so your agents keep going. Plugged in or on battery.
01:12
You get a notification. Click it and you’re right back in the window it ran in.
02:47
That was the last one. Nightrun starts a short countdown to sleep. You choose how long.
Awake: 2 agents are working. Sleeps 5 min after they finish.
ACTIVE
02:52
Not a minute longer than it has to. No hot bag, no empty battery in the morning.
Hours of work, finished while you slept.
Free · macOS 13 or later
Watching your agents. Stays awake as soon as one starts working.
ACTIVE
IDLE
Nightrun lives in your menu bar. Every agent, with what it’s doing right now.
Awake: 2 agents are working. Sleeps 5 min after they finish.
ACTIVE
IDLE
It’s live. Try the switch.
Start an agent the way you always do. Nightrun finds it on its own.
Claude Code and Codex show exactly what they’re doing. The others show when they’re busy.
A laptop that never sleeps gets hot and runs flat. Nightrun makes sure yours doesn’t.
Nightrun comes straight from this site, not the App Store, so macOS asks you to approve it the first time. You only do this once.
NightrunApplications
Open the download and drag Nightrun onto the Applications folder.
“Nightrun” Not Opened
Apple could not verify “Nightrun” is free of malware that may harm your Mac or compromise your privacy.
The first time, macOS says it couldn’t check Nightrun. That’s expected: click Done, not Move to Trash.
Security
In System Settings → Privacy & Security, scroll down and click Open Anyway. Confirm with Touch ID or your password.
Last, choose Auto and click Set up. Your password, one time, and you’re done.
It only shows for about an hour after macOS stops Nightrun. Open Nightrun again, then go back to Privacy & Security.
Open Terminal (Applications → Utilities), paste this and press Return, then open Nightrun again.
$ xattr -dr com.apple.quarantine /Applications/Nightrun.appFree · macOS 13 or later
Yes. No account, no subscription.
Yes. No charger or external display needed. Your Mac still sleeps below 10 % battery, and you can choose to stay awake only when plugged in.
Any laptop that works hard in a closed bag gets warm. Leave it somewhere with air while agents run. Nightrun puts it to sleep a few minutes after they finish, so it isn’t up all night for nothing.
Only an administrator can keep a closed Mac awake. Setup adds one rule that allows exactly two commands, pmset -a disablesleep 1 and 0. You can remove it from the menu any time.
Claude Code and Codex in full detail. Gemini CLI, Cursor Agent, OpenCode, Amp, Goose and Aider by their activity. Nothing to set up for any of them.
No. Nightrun reads your agents’ session logs on your Mac and never connects to the internet.
Those keep your Mac awake until you remember to stop them, and caffeinate can’t hold a closed lid. Nightrun knows when your agents are done, tells you, and lets your Mac sleep.
Any Mac with macOS 13 Ventura or later. Apple silicon and Intel.
Your agents have work to do. Let them.
Free · macOS 13 or later