A cup in the menu bar
Empty cup: your computer can sleep. Full, steaming cup: it stays awake. Click it and pick how long.
A cup in your menu bar and a tiny command called caff. Turn it on, and your build, download or any long task keeps running while you step away.
curl -fsSL https://raw.githubusercontent.com/cmglezpdev/caffeinate/main/install.sh | shPaste it in Terminal. It copies Caffeinate to Applications.
or download: Apple silicon .dmg · Intel .dmg
The app is not notarized, so macOS blocks a DMG downloaded in the browser until you click Open Anyway in System Settings › Privacy & Security. The command skips that.
irm https://raw.githubusercontent.com/cmglezpdev/caffeinate/main/install.ps1 | iexPaste it in PowerShell.
or download: .msi
SmartScreen may stop the installer: click More info › Run anyway.
You start a big download and go to bed.
Choose how long the computer stays awake: until you turn it off, for a while, until a time, or while a command runs. Click any card to replay it.
Empty cup: your computer can sleep. Full, steaming cup: it stays awake. Click it and pick how long.
caff, the CLINo app needed. caff for 40m, 1h or 2h30m. caff on runs until Ctrl-C.
Pick an hour from Until ▸ or run caff until 18:00. A time that has passed means tomorrow.
The screen can still turn off. Check Also Keep Display On, or add --display.
caff run -- make keeps awake while make runs, then exits with its exit code. Scripts and CI see the real result.
Menu bar on macOS, system tray on Windows and Linux.
Built in Rust with Tauri. A few MB. Read the code →
One command, and the cup shows up. Free. Click a card to replay its install.
curl -fsSL https://raw.githubusercontent.com/cmglezpdev/caffeinate/main/install.sh | shPaste it in Terminal. It copies Caffeinate to Applications.
Files: Apple silicon .dmg · Intel .dmg
The app is not notarized, so macOS blocks a DMG downloaded in the browser until you click Open Anyway in System Settings › Privacy & Security. The command skips that.
irm https://raw.githubusercontent.com/cmglezpdev/caffeinate/main/install.ps1 | iexPaste it in PowerShell.
Files: .msi
SmartScreen may stop the installer: click More info › Run anyway.
curl -fsSL https://raw.githubusercontent.com/cmglezpdev/caffeinate/main/install.sh | shOn apt systems it installs the .deb, which includes caff. Otherwise it puts the AppImage in ~/.local/bin.
Just the CLI? With Rust installed:
cargo install --git https://github.com/cmglezpdev/caffeinate --locked caffOr grab a caff-<target> archive from the latest release.
curl -fsSL https://raw.githubusercontent.com/cmglezpdev/caffeinate/main/install.sh | shPaste it in Terminal. It copies Caffeinate to Applications.
or download: Apple silicon .dmg · Intel .dmg
The app is not notarized, so macOS blocks a DMG downloaded in the browser until you click Open Anyway in System Settings › Privacy & Security. The command skips that.
irm https://raw.githubusercontent.com/cmglezpdev/caffeinate/main/install.ps1 | iexPaste it in PowerShell.
or download: .msi
SmartScreen may stop the installer: click More info › Run anyway.