caffeinate & disablesleep
Menu bar switch that keeps a Mac awake for timed sessions, optionally with the screen on or the lid closed.
MIT · Downloads from github.com
- License
- MIT
- Open source
- Source
- GitHub
- demiaochen
- Verified
- 2026
About caffeinate & disablesleep
A small menu bar app that keeps a Mac awake while a download, build or other long task runs. Pick a duration from 15 minutes to eight hours, or choose unlimited, and optionally keep the screen on. The lid option sets pmset disablesleep, so the Mac keeps running with its lid closed. The app replaces typing caffeinate and pmset commands by hand, and its panel shows the equivalent commands.
It requires macOS 14 or later and is a universal build for Apple silicon and Intel. The DMG is Developer ID signed and notarized. The first time you enable the lid option, macOS asks for an administrator password, and the app then installs a sudoers rule that only allows turning disablesleep on and off. The README warns that a closed Mac can trap heat, so keep it ventilated.
Information
- Source code
- demiaochen/caffeinate-disablesleep
- License
- MIT
- Website
- cnd.demiao.cc
- Download
- github.com
- Category
- Utilities
- Alternative to
- Amphetamine
- Topics
- Menu bar apps
- Evidence checked
- Tags
OpenMacApps links to each project’s official download. Check its release notes for macOS version and Apple silicon support. The verification date records our license and source review, not a security audit. Read how we verify.
Sources and image credits
- github.com/demiaochen/caffeinate-disablesleep
- github.com/demiaochen/caffeinate-disablesleep/blob/main/LICENSE
- github.com/demiaochen/caffeinate-disablesleep/releases
- cnd.demiao.cc
- icon.png: Demiao Chen. MIT; upstream app icon, trademarks retained.
License and artwork notices
For the Developer
Link to this page from your README with a badge.
[](https://openmacapps.com/apps/caffeinate-disablesleep/)