An Amphetamine alternative for a closed lid, with no Power Protect add-on.

By Matyas Rathonyi. Updated November 15, 2026. Guides

If you need the lid-closed part, switch to Clamshell for Mac. It is one app with no admin password, sudo rule, or helper, it handles plugging in and unplugging by itself, and its thermal safety is always on. Amphetamine's closed-display use on Apple Silicon laptops relies on Power Protect, a separate install, and its App Store listing has shown no update since November 10, 2023. This page is written by the maker of Clamshell, and it says where another option is the better choice.

One appNo add-on script or config file
No adminNo sudo or privileged helper
Thermal safetyAlways on, disarms under heat
$9.99 onceAfter a 7-day free trial

An animated MacBook with a coding agent deploying a website from its terminal. The Option key is held and the lid closes: the display goes black, but the Mac stays awake, so a dimmed copy of the terminal keeps working above the closed laptop while its front edge fills with light. When the deploy is done, a pointer shows how to lift the lid. Opening it wakes the Mac to its lock screen, which unlocks to the finished run: deployed, with the live address. The lid can then be opened and closed freely.

Clamshell for Mac keeps the Mac awake with the lid closed while armed. No sudo, no monitor. Free for 7 days, then $9.99 once.

Apple Silicon, macOS 14+. Notarized by Apple. 3.6 MB. Or install with Homebrew: brew install --cask clamshell. On your phone? Send the Mac download link to yourself.

Want every option side by side, including LidRun, pmset, caffeinate and Apple's own display setup? See the Clamshell vs Amphetamine vs pmset comparison. This page is for people who already use Amphetamine and want the lid-closed part to just work.

A power trace switching from AC to battery and back. With Clamshell armed, the closed MacBook stays awake through each change. AC Battery AC
Plug in, unplug, still awake, nothing extra installed.On Apple Silicon laptops, connecting or disconnecting power is where closed-display sessions can misbehave. Amphetamine handles it with Power Protect, a separate install. Clamshell keeps the closed Mac awake through every plug and unplug.

Amphetamine is a capable free keep-awake toolkit, but closing the lid on an M-series MacBook is the one job where it asks for more: reliable closed-display use across plugging in and unplugging involves Power Protect, a separate download, and the latest version on its App Store listing is 5.3.2 from November 10, 2023. Clamshell for Mac is built for the lid-closed part, as a single menu bar app with no admin rights, for $9.99 once after a 7-day trial.

Why Clamshell is the better pick for a closed lid

What closed-lid use installs on an Apple Silicon laptop. Amphetamine: the app, plus a Power Protect script and a sudoers configuration file, authorized with Touch ID or an admin password. Clamshell: the app, nothing else. Amphetamine App Script Config file Clamshell App nothing else
Clamshell is the whole install. Amphetamine's App Store listing describes Power Protect as a separate download of a script and a configuration file; its install page puts the file in /private/etc/sudoers.d/ and asks for Touch ID or an admin password once. For the closed lid, Clamshell is the app alone, with no helper.

Only need the lid part? Try Clamshell free for 7 days, no payment details. Then $9.99 once for one Mac, with a 14-day money-back guarantee.

Apple Silicon, macOS 14+. Notarized by Apple. 3.6 MB. Or install with Homebrew: brew install --cask clamshell.

The alternatives compared

Our pick: Clamshell. No admin rights, no add-on, nothing left on after you disarm. The other lid-closed options follow; KeepingYouAwake comes last because it does not keep the Mac awake once the lid closes.

ToolAdmin or add-onLid closedBest atPrice
Amphetamine Separate add-on. The app needs none. On Apple Silicon laptops, an optional Power Protect install, a script and a configuration file in /private/etc/sudoers.d/, authorized once with Touch ID or an administrator password, keeps the mode working across power changes Yes, Closed-Display Mode General keep-awake sessions and triggers Free
LidRun Helper or password. A helper approved once in Login Items, or an admin password each time Closed-Lid Mode flips Yes, Pro only Detecting agent and dev workloads and stopping when they finish Free lid-open tier; Pro from $9.90 once
pmset disablesleep Needs sudo to set and to undo; stays on until undone Yes A free, built-in, system-wide override Free
KeepingYouAwake None No, per its README A simple, open-source, lid-open keep-awake toggle Free, MIT licensed

Not KeepingYouAwake or caffeinate for a closed lid. Both only prevent idle sleep, so neither keeps the Mac awake once the lid closes.

Clamshell for Mac: how it works

Clamshell is a small menu bar app for Apple Silicon MacBooks on macOS 14 or later. Arm it, close the lid, and the Mac keeps running with the built-in display black. It works only while armed and needs no sudo, admin rights, kernel extension, driver, or privileged helper. There is nothing to install beyond the app; only the optional modules Low Power While Closed, Fan Boost, Agent Light, Sleep Until Reset, Sleep Means Sleep, Stay Off When Opened and Password After Close, off until you turn them on, ask for a one-time approval in Login Items.

Clamshell also arms with an external display connected, and keeps a closed Mac awake there even on battery. It is sold from clamshell.dev and on Setapp, not on the Mac App Store; an unrelated App Store app shares the name.

What changes when you leave Amphetamine

Amphetamine is free, has no in-app purchases, and has been on the Mac App Store for years. Its feature list is broad: keep-awake sessions that run indefinitely, for a set time, while a file downloads, or while an app runs; per-session choices for display sleep, screen saver, and system sleep when the built-in display is closed; triggers based on displays, apps, battery, and power; and extras such as locking the screen after inactivity. Clamshell does not replace those lid-open triggers. It replaces the closed-lid part.

That closed-lid part is where Amphetamine's version notes describe an extra step. Version 5.3 added a Closed-Display Mode script for an Apple Silicon issue where connecting or disconnecting a laptop from power could cause unexpected session behavior. That feature is now called Power Protect. The listing says it is only needed and available on Apple Silicon Mac laptops, and that it is not included in Amphetamine itself: it needs a separate download and installation of a script and a configuration file. The developer's Power Protect page lists the configuration file's location, /private/etc/sudoers.d/, and asks for Touch ID or an administrator password during installation. The same listing, checked October 5, 2026, shows version 5.3.2, released November 10, 2023, as the latest.

LidRun

LidRun is a menu bar utility aimed at AI and developer jobs. Its free tier covers lid-open sessions with timers, charging-only mode, low-battery auto stop, and a lidrun command-line wrapper. Closed-Lid Mode is part of Pro, together with Auto Mode, which its pricing page says detects Claude Code, Cursor, Docker, and Ollama and keeps the Mac awake while they run. Pro is a one-time purchase: $9.90 for one Mac at its launch price, $14.90 for two, $19.90 for three, and $59.90 for ten. Its FAQ says Closed-Lid Mode calls pmset disablesleep; LidRun's helper, approved once as a Login Items toggle, avoids an administrator password prompt each time the setting flips, and restores normal sleep if the app stops checking in. It runs on macOS 13 or later on Apple Silicon and Intel. See the three-way comparison for the full table.

pmset disablesleep

If you do not want another app, sudo pmset -a disablesleep 1 keeps the Mac awake with the lid closed and sudo pmset -a disablesleep 0 restores it. It is built into macOS, but it is system-wide, needs sudo, has no timer or menu bar indicator, and stays on until you undo it. The pmset guide covers checks and the undo.

KeepingYouAwake: idle sleep only

KeepingYouAwake is a free, open-source menu bar app under the MIT license, installable from GitHub releases or with brew install --cask keepingyouawake. Its README answers the lid question directly: because of macOS limitations and thermal considerations, it only prevents sleep on desktop Macs and on laptops with an open lid, so it does not keep the Mac awake once the lid closes. The same goes for caffeinate, as the caffeinate guide explains.

If you want a free all-in-one keep-awake toolkit, agent auto-detection, or support for an Intel MacBook, Amphetamine or LidRun covers that.

Frequently asked questions

Does Clamshell need an admin password or a helper?

No. Keeping the Mac awake with Clamshell for Mac needs no sudo, admin rights, kernel extension, driver, or privileged helper, and there is no add-on to install. Only the optional modules Low Power While Closed, Fan Boost, Agent Light, Sleep Until Reset, Sleep Means Sleep, Stay Off When Opened and Password After Close, off until you turn them on, ask for a one-time approval in Login Items.

Does Clamshell leave anything behind?

No. Clamshell restores normal lid sleep when you disarm or quit, an Option-close session ends when the lid opens, and a restart does the same.

Is there a free trial?

Yes. Clamshell is free for 7 days with no payment details, then $9.99 once for one Mac or $19.99 for up to 3 Macs, with a 14-day money-back guarantee.

Does Amphetamine work with the lid closed on Apple Silicon?

Yes, through Closed-Display Mode. Closed-Display Mode is built in. On Apple Silicon Mac laptops, the developer offers Power Protect, a separate install, so the mode keeps working when you plug in or unplug.

When was Amphetamine last updated?

On October 5, 2026, the Amphetamine App Store listing showed version 5.3.2, released November 10, 2023, as the latest version.

Does KeepingYouAwake work with the lid closed?

No. Its README says it only prevents sleep on desktop Macs and on portable Macs with an open lid, citing macOS limitations and thermal considerations.

Which Amphetamine alternative detects AI coding agents?

LidRun Pro. Its pricing page says Auto Mode detects Claude Code, Cursor, Docker, and Ollama. Clamshell's core does not detect agents, and its optional Agent Status, Agent Notifications and Finish Work, Then Sleep modules show what Claude Code and Codex agents are doing, notify you, and can let them finish before the Mac sleeps; you can arm it from scripts with its URL scheme or Shortcuts actions.

Close the lid, keep working. Clamshell is free for 7 days. No admin password, no add-on, $9.99 once if you keep it.

Apple Silicon, macOS 14+. Notarized by Apple. 3.6 MB. Or install with Homebrew: brew install --cask clamshell.

Related guides

Sources checked September 29, 2026, with the Amphetamine listing and LidRun FAQ rechecked October 5, 2026: the Amphetamine App Store listing and version history, the KeepingYouAwake README, LidRun pricing, the LidRun FAQ, the LidRun helper guide, LidRun download page, and the macOS pmset(1) manual. Clamshell is the publisher of this guide. Product names belong to their respective owners. Rechecked October 15, 2026: the Amphetamine Power Protect page and App Store listing and the macOS pmset(1) manual.