From the menu bar
Flip the switch, or pick a length from 15 minutes to 8 hours. Add 15 minutes while it runs.
∞ · 15m · 30m · 1h · 2h · 4h · 8h Free desktop app · macOS, Windows and Linux
A menu bar switch with a timer, and a command you put in front of long jobs. When the time is up or the job ends, your computer sleeps again.
Windows and Linux ↓macOS 10.13 or later, Apple silicon and Intel · Windows x64 · Linux x64 with systemd
~/code/caffienated $ caffienated bun run dev caffienated › awake while "bun run dev" runs $ vp dev VITE+ v1.5.0 ready in 312 ms ➜ Local: http://localhost:1420/ ➜ press h + enter to show help
Caffienated
1:05:09
Timer, plus 2 commands running
Keeping awake while running
Settings ›
Writes a skill for the coding agents already on your computer
Three ways in
Use whichever fits the moment. All three share one keep-awake, and the menu bar always shows what is holding it.
Flip the switch, or pick a length from 15 minutes to 8 hours. Add 15 minutes while it runs.
∞ · 15m · 30m · 1h · 2h · 4h · 8h Awake while the command runs, back to normal when it exits. Works over SSH, with or without the app.
caffienated bun run dev A skill teaches Claude Code, Codex, Cursor and others to wrap their own long jobs.
caffienated skill --install Command line
The app file is also the CLI, and it puts caffienated on your PATH the first time it runs.
build-box $ caffienated ./train.sh --epochs 40 caffienated › awake while "./train.sh" runs (app not running, holding it here) epoch 1/40 loss 0.913 epoch 2/40 loss 0.744 … epoch 40/40 loss 0.052 caffienated › "./train.sh" finished after 6h 41m build-box $ echo $? 0
The terminal is untouched. Input, output, colours and Ctrl+C go straight to the command.
The exit code is the command’s own. 127 when it is not found, 126 when it cannot run, 128 plus the signal.
Two status lines, on stderr. Pipes see the command’s output alone. -q hides them; --display keeps the screen on too.
No app needed. Wrapping holds its own keep-awake, so it works over SSH and on servers. With the app running, the command shows in the popover.
caffienated on 1h30m Turn on for a length. Leave it out to use the last one.
caffienated extend 30m Add time to a running timer without restarting it.
caffienated off Turn off. Wrapped commands keep running.
caffienated toggle On with the last length, or off. Same as the hotkey.
caffienated status --json State, time left and running commands. --json works on every subcommand.
caffienated set battery on Stop on battery. Also display, launch, notify, login, update, default and hotkey.
A duration is 30s, 15m, 2h, 1h30m, 45 (minutes) or forever.
For coding agents
No MCP server. Agents already run shell commands, so Caffienated ships a skill that tells them when to wrap a job, and to leave your own session alone.
you › run the full e2e suite and leave it going, I'm heading out agent › (caffienated skill) wrapping so the laptop stays awake $ caffienated --quiet bun run test:e2e ✓ 212 passed ✗ 3 failed (1h 48m) $ caffienated status --json {"ok":true,"status":{"active":false,...}} agent › Done: 212 passed, 3 failed. The computer is back to normal sleep.
The app writes the skill for every coding agent it finds on this computer, each time it starts, so it stays current after updates. To install or print it by hand:
caffienated skill --installcaffienated skill It tells agents to prefer wrapping, to turn off only what they turned on, and never to end a session they did not start.
The details
Caffienated is built to be forgotten. It does what you asked, then lets go.
When the timer runs out, everything switches off and a notification says so.
If wrapped commands are running, it asks first. The commands keep running either way.
⌘⌥C toggles with the last length. Ctrl+Alt+C on Windows and Linux. Change it in settings.
Optional: it stops when you unplug, will not start on battery, and tells you why.
Keep-awake goes through the operating system, so a killed app never leaves the computer awake. Quitting or updating the app does not stop wrapped commands.
It checks every six hours, downloads a new version in the background and installs it when you quit. “Restart to Update” in the menu switches right away.
Privacy
Command names, folders and settings never leave your computer. Every six hours the app checks latest.json on release.utilities.studio and installs a new version when you choose.
No account. Nothing to sign in to. Product emails are an optional sign-up.
Anonymous counts. Once a day, a few feature counts with no identifier. Turn it off in Settings.
A private local socket. The CLI talks to the app with a token kept in your settings folder.
FAQ
Open the app once. It adds caffienated to your terminal: a link in /usr/local/bin on macOS (it may ask for your password once), ~/.local/bin for the Linux AppImage, and your user PATH on Windows. Open a new terminal window afterwards.
The macOS app is not notarized yet. Open System Settings › Privacy & Security and choose Open Anyway next to the Caffienated message. You only do this once.
The Windows installer is not code-signed. Choose More info, then Run anyway. Updates are still verified before they install.
Caffienated checks for a new version when it starts and every six hours, then shows it in the popover with Update and Later, and as “Update to …” in the menu. Update downloads it with progress, installs it and restarts Caffienated. With “Install updates automatically” on (off by default; Settings or caffienated set update on), new versions download in the background and install when you quit; pick “Restart to Update” to switch right away. The Mac App Store edition updates through the App Store.
Keep-awake on Linux uses systemd-logind. Distributions without systemd cannot keep the computer awake with Caffienated.
Run caffienated skill --install to write it for the agents on this computer, or caffienated skill to print it. The app also refreshes it every time it starts.
Free for macOS, Windows and Linux. One file is the app and the command line, and it keeps itself up to date.
chmod +x Caffienated_amd64.AppImage Need help installing? Visit support.