Caffeinator website.
  • Open the downloaded disk image file.
  • Drag the Caffeinator icon to the Applications folder.
  • Once the app finishes copying, eject the disk image by dragging the Caffeinator icon on your Desktop (not the one you dragged to Applications) to the Trash.
  • Follow the steps below to open Caffeinator for the first time.
  • Opening the App

    The very first time you try to launch Caffeinator, you'll get an error saying that the app is from an "untrusted developer." This is because Caffeinator is not signed with a developer certificate, which costs $99 (money that an open-source project like this doesn't have) to obtain from Apple. Therefore, you'll need to do the following the first time you open Caffeinator:

    Once you've opened a new version for the first time, you'll be able to open it regularly (as you would any other app on your computer) from then on. Whenever Caffeinator is open, you'll see a coffee cup icon in your menu bar. When the coffee cup is highlighted, Caffeinator is keeping your computer awake.

    For convenience, you can also have Caffeinator unobtrusively and automatically appear in your menu bar whenever you log in by following the steps below.

    Opening Automatically at Login

    If you use Caffeinator frequently, consider having it open automatically when you log in. To do so, add Caffeinator to your Login Items:

    Caffeination Options

    Caffeinator provides a number of different options to prevent computer sleep. These are listed below and can be accessed from the main Caffeinator menu. At any time, you may stop an ongoing Caffeination by pressing the Stop Caffeinator button or by right-clicking or option-clicking the menu bar icon.

    Assigning Keyboard Shortcuts

    Caffeinator allows you to map global keyboard shortcuts to commonly used Caffeinations (regular, process-based, time-based, and custom). Shortcuts allow you to quickly start a Caffeination simply by pressing a key combination on your keyboard.

    By default, no keyboard shortcuts are configured. To view the keyboard shortcut configuration window, select Advanced > Configure Keyboard Shortcuts… in the Caffeinator menu. The window displays any existing shortcuts and allows you to change or remove them or configure new ones.

    To define a new shortcut:

    To update an existing shortcut, follow the steps above, but note that the Set button will display the existing shortcut rather than the word "Set."

    To clear an existing shortcut, click Clear next to the shortcut you'd like to remove.

    Automation and Scripting

    Caffeinator supports automation via AppleScript and JavaScript for Automation. Using these technologies, you can start or stop a Caffeination, or observe the status and configuration of an ongoing one, from within your own custom automation scripts. For more information about Caffeinator's scripting support, review the documentation in Caffeinator's scripting dictionary (accessible in Script Editor under File > Open Dictionary… > Caffeinator).