free & open source

Keep your computer awake.

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.

Install on macOS Apple silicon + Intel
$curl -fsSL https://raw.githubusercontent.com/cmglezpdev/caffeinate/main/install.sh | sh

Paste 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.

Install on Windows x64
PS>irm https://raw.githubusercontent.com/cmglezpdev/caffeinate/main/install.ps1 | iex

Paste it in PowerShell.

or download: .msi

SmartScreen may stop the installer: click More info › Run anyway.

Install on Linux x86_64
$curl -fsSL https://raw.githubusercontent.com/cmglezpdev/caffeinate/main/install.sh | sh

On apt systems it installs the .deb, which includes caff. Otherwise it puts the AppImage in ~/.local/bin.

or download: .deb · .AppImage

Star on GitHub
Other platforms
AWAKEzzZtap the cup to refill

Without / With Caffeinate

You start a big download and go to bed.

Without
11:58 PM
dataset.tar.gz 18 GB
Downloading… 0%
Download pausedzzz
With Caffeinate
11:58 PM
dataset.tar.gz 18 GB
Downloading… 0%
Features

One small app.
One job.

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.

A cup in the menu bar

Empty cup: your computer can sleep. Full, steaming cup: it stays awake. Click it and pick how long.

⌁5:40 PM
Keeping awake for 1 h

caff, the CLI

No app needed. caff for 40m, 1h or 2h30m. caff on runs until Ctrl-C.

Until a time

Pick an hour from Until ▸ or run caff until 18:00. A time that has passed means tomorrow.

Until 6:00 PM

Screen on, too

The screen can still turn off. Check Also Keep Display On, or add --display.

Wrap any command

caff run -- make keeps awake while make runs, then exits with its exit code. Scripts and CI see the real result.

macOS · Windows · Linux

Menu bar on macOS, system tray on Windows and Linux.

menu bar
tray
tray

Free & open source

Built in Rust with Tauri. A few MB. Read the code →

FREE
Install

Get it

One command, and the cup shows up. Free. Click a card to replay its install.

Your system

macOS

Apple silicon + Intel
$curl -fsSL https://raw.githubusercontent.com/cmglezpdev/caffeinate/main/install.sh | sh
1 · paste2 · install3 · cup!
⌁5:40 PM
$
in the menu bar

Paste 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.

Your system

Windows

x64
PS>irm https://raw.githubusercontent.com/cmglezpdev/caffeinate/main/install.ps1 | iex
1 · paste2 · install3 · cup!
ENG5:40 PM
PS>
in the tray

Paste it in PowerShell.

Files: .msi

SmartScreen may stop the installer: click More info › Run anyway.

Your system

Linux

x86_64
$curl -fsSL https://raw.githubusercontent.com/cmglezpdev/caffeinate/main/install.sh | sh
1 · paste2 · install3 · cup!
Mon 5:40 PM⏻
$
in the tray

On apt systems it installs the .deb, which includes caff. Otherwise it puts the AppImage in ~/.local/bin.

Files: .deb · .AppImage

Just the CLI? With Rust installed:

$cargo install --git https://github.com/cmglezpdev/caffeinate --locked caff

Or grab a caff-<target> archive from the latest release.

Start the download. Go to bed.

Install on macOS Apple silicon + Intel
$curl -fsSL https://raw.githubusercontent.com/cmglezpdev/caffeinate/main/install.sh | sh

Paste 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.

Install on Windows x64
PS>irm https://raw.githubusercontent.com/cmglezpdev/caffeinate/main/install.ps1 | iex

Paste it in PowerShell.

or download: .msi

SmartScreen may stop the installer: click More info › Run anyway.

Install on Linux x86_64
$curl -fsSL https://raw.githubusercontent.com/cmglezpdev/caffeinate/main/install.sh | sh

On apt systems it installs the .deb, which includes caff. Otherwise it puts the AppImage in ~/.local/bin.

or download: .deb · .AppImage

Star on GitHub