LidRun keeps your Mac awake with the lid closed — so Claude Code, Cursor, Docker and Ollama keep running with timers, charging-only mode, low-battery stop and battery/thermal guardrails.
-
Updated
Aug 6, 2026
LidRun keeps your Mac awake with the lid closed — so Claude Code, Cursor, Docker and Ollama keep running with timers, charging-only mode, low-battery stop and battery/thermal guardrails.
Install LidRun Free with Homebrew — the macOS menu-bar app that keeps AI agents and long-running dev jobs alive on a Mac even with the lid closed (clamshell), with battery + thermal guardrails so nothing cooks or drains.
macOS / MacBook 合盖不休眠工具:仅在 Codex 执行任务时保持运行和联网,任务结束自动恢复睡眠;基于 pmset 与 LaunchDaemon。
MacBook 덮개를 닫아도 작업을 이어 가는 macOS 메뉴 막대 앱 · Keep a Mac awake with the lid open or closed
Lock your Mac from any Apple device, automatically when you walk away, or keep it awake with the lid closed.
Keep OpenAI Codex running on a MacBook with the lid closed; restore macOS sleep automatically when Codex becomes idle.
Keep your Mac running with the lid closed to maintain background tasks, AI workloads, and server processes without interruption.
Add a description, image, and links to the closed-lid topic page so that developers can more easily learn about it.
To associate your repository with the closed-lid topic, visit your repo's landing page and select "manage topics."