StayAwake for Mac
Menu bar utility to keep your computer awake and continue running tasks with the lid closed.
By TY-teo. Free and open source, MIT licence.
StayAwake at a glance
- Version
- 1.0.0
- Released
- 31 May 2026
- Download size
- 2.4 MB
- Works on
- Apple silicon and Intel
- Licence
- MIT
- Category
- Menu Bar and Notch
- Developer
- TY-teo
- GitHub stars
- 67
About StayAwake
Native macOS menu bar app that keeps your MacBook awake for AI coding agents - Claude Code, OpenAI Codex, Cursor - even with the lid closed. Open source (MIT), IOPMAssertion + scoped sudoers rule for password-free pmset, timed auto-off, login item, crash-safe self-heal. Built for overnight agent runs and clamshell mode without an external display.
How to install StayAwake on a Mac
- Get OpenDMG. It is a free app store for open source Mac apps. Download OpenDMG.
- Search for StayAwake and press Get. OpenDMG downloads version 1.0.0 from TY-teo's own GitHub release.
- Open it. The download is checked against its SHA-256 fingerprint and its signature is checked on your Mac before it lands in Applications.
Updates to StayAwake show up in OpenDMG and install with one button. No account is needed.
Prefer to do it by hand? The developer's file is on GitHub: StayAwake-1.0.0.dmg (2.4 MB).
What is new in StayAwake 1.0.0
StayAwake 1.0.0 — macOS 菜单栏「保持唤醒 / 合盖继续运行」工具 安装:下载 StayAwake-1.0.0.dmg,打开后把 StayAwake 拖进 Applications。 首次打开(本版本未做 Apple 公证,会被门禁拦一次,二选一放行): - 系统设置 → 隐私与安全性 → 找到“已阻止 StayAwake”,点“仍要打开”;或 - 终端执行:xattr -dr com.apple.quarantine /Applications/StayAwake.app 功能: - 保持唤醒:系统空闲不休眠(插电/电池均可),可选屏幕常亮或息屏、定时自动关闭 - 合盖继续运行:合盖也不休眠,支持一次性免密授权(写入精确限定的 sudoers 规则) - 原生 macOS 系统设置风格,常驻菜单栏,无 Dock 图标 要求:macOS 26.0+。Apple Silicon 合盖建议插电 / 接外接显示器时最稳,请实测。
More Menu Bar and Notch apps
-
StatsmacOS system monitor in your menu bar
-
IcePowerful menu bar manager for macOS (upstream, temporarily inactive)
-
Hidden BarAn ultra-light MacOS utility that helps hide menu bar icons
-
ThawThe open-source menu bar manager: hide, organize, and take control of menu bar icons
-
Boring NotchTurn your MacBook notch into a music and file control center
-
eulmacOS status monitoring app written in SwiftUI