Most "keep awake" apps are a light switch: on, off, and no idea why the room's still lit. Taurine fixes the parts that annoy you about the others.
Tell it why to stay up and it lets go on its own:
taurine -- make build # awake for exactly this command, then doneAsk who's keeping your Mac awake, Taurine or anything else, and it actually answers:
taurine whyWalk away and the screen can still lock, without any of it stopping:
taurine lockable on # awake holds the Mac up, not the screenAnd while it's holding the line, a bull gallops out of your menu bar to say so.
Ask what your Mac is spending itself on and it answers in watts, from the chip's own energy counters (up to macOS 26, see below), with no password and nothing running until you open the panel.
No polling, no network, no analytics. 0 idle timers, 0 sockets, and a resident figure read live from the kernel rather than asserted here: the menu badge shows all three, and on macOS 26 it reads about 45 MB, nearly all of it AppKit pages shared with every other app on the Mac.
"Taurine" is the energy-drink amino acid (and Taurus, the bull). No affiliation with, or endorsement by, any beverage company.
brew install john-athan/tap/taurine
taurine # launches the menu bar appThat's it, the taurine CLI is on your PATH immediately, and running it
with no arguments launches the menu bar app. Homebrew builds from source on
your machine, so there's no "unidentified developer" Gatekeeper prompt and
nothing to notarize.
To keep it in /Applications, for the login-item toggle and for a permission that
survives upgrades:
taurine-install # again after every brew upgrade taurineIt signs the copy with a self-signed certificate made on your Mac, which is how
macOS recognises the next version. The taurine command then runs that copy.
git clone https://github.com/john-athan/taurine && cd taurine
make install # builds, installs to /Applications, links the CLI, launchesmake uninstall reverses it.
tools/build-app.sh
tools/install-app.sh build/Taurine.app && open /Applications/Taurine.app
sudo ln -sf /Applications/Taurine.app/Contents/MacOS/taurine /usr/local/bin/taurineNo sudo? Link into a dir you own instead:
mkdir -p ~/.local/bin
ln -sf /Applications/Taurine.app/Contents/MacOS/taurine ~/.local/bin/taurine
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && source ~/.zshrcRequires macOS 13+ and the Xcode command line tools (xcode-select --install).
No Xcode project, no dependencies, just swiftc.
make test builds the app into a test binary and runs it. Same toolchain, no
package manager, no network. See
ADR 1.
Menu bar, click the bull for the menu, or hit the global hotkey ⌃⌥⌘R from anywhere to toggle.
The menu gives you:
| Item | What it does |
|---|---|
| Toggle | Classic on/off. Bull gallops in, bull dozes off. |
| Keep awake for… | 15 min / 30 min / 1 h / 2 h, then auto-off. |
| Stay awake until an app quits… | Pick a running app; Taurine releases the instant it exits. |
| Why is my Mac awake? | Live list of every process holding a sleep assertion. |
| What is this Mac doing? | The activity panel: cores, GPU, watts, battery, memory, disk, network. Costs nothing until you open it. |
| (the badge) | 45.2 MB · 0 timers · 0 sockets, read live from the kernel every time the menu opens. Not a claim, a measurement. |
| Things Apple got wrong | Small fixes the system should have shipped. Currently: scroll direction per device; ⌘X / ⌘V to cut and paste files in Finder; ⌫ to move files to the Trash; ↩ to open them; and ⇧⌘V to paste as plain text in every application. |
| Lock the screen now (⌃⌘Q) | Locks straight away without asking the Mac to sleep. Everything you started keeps running behind the login window. |
| Let the screen lock (Mac keeps working) | Off by default. On, and Taurine stops holding the display up, so your screen darkens and locks on its usual schedule while the machine stays fully awake. This is caffeinate -i. |
| Also prevent system sleep | Not just the display, the whole machine (for long jobs). |
| Keep awake with lid closed (AC only) | Off by default, a closed lid sleeps normally. On, and only while awake + plugged in, Taurine holds the lid open too (pmset disablesleep, needs admin). Reverts on unplug, toggle-off, or quit. |
| Auto-off under 20% on battery | The conscience. Won't drain your laptop overnight. |
| Start awake at launch / Start at login | Set once, forget. |
Lid-closed, carefully. Ordinary sleep assertions (everything else Taurine does) don't survive a shut lid, that's clamshell sleep, a separate path. The only lever is
pmset disablesleep, which is system-wide and persistent, so Taurine engages it only while awake + on AC and always puts it back. A hard crash can leave it set; if a closed lid ever won't sleep, runsudo pmset -a disablesleep 0. And don't stuff an awake, lid-shut Mac in a bag.
Awake and locked, honestly. Let the screen lock drops one assertion, and that is the whole trick: the lock was never blocked, it was never reached, because a display that is held awake never goes dark and never starts a screen saver. What the mode cannot do is refuse a sleep you asked for. The Apple menu, a closed lid, and on many Macs the power button all take a path no assertion sees, and a Mac that sleeps takes your build with it. Lock with ⌃⌘Q or with Taurine's own item and nothing stops. The menu tooltip reads your real display timeout and power button setting out of
pmsetand says which of them will bite. One more thing to know: with the screen dark, screenshots and GUI automation see nothing. Terminal work does not care.
Everything mactop shows you in a terminal, in a panel that drops out of the
menu bar: per-cluster and per-core load with the frequency each cluster is
actually running at, GPU utilisation, CPU, GPU and Neural Engine watts, memory
split into app, wired and compressed with swap when swap is in use, and disk and
network rates with a minute of history.
And the plug, which is the other half of the question on a laptop. The
battery tile says how full the cell is, which way the energy is moving and how
fast, how long the gauge thinks that leaves, and what the adapter is delivering
against what it is rated for: adapter 27.9 W of 30 W next to CHARGING 21.4 W
is a Mac charging as fast as that adapter allows. Read from the battery gauge in
the IO registry, never from an undocumented SMC key, and the wall figure is shown
only when the machine's own telemetry corroborates it. A Mac with no battery
simply has no battery tile. See
ADR 9.
No password. Every other Mac power monitor shells out to powermetrics,
which will not run without root. Taurine reads the same energy counters directly
through IOReport, which an ordinary process may do, so the panel never asks for
anything. See ADR 3.
macOS 27 took that away: the counters still exist but stop moving for a process
without root, so on macOS 27 the panel shows no watts and names the energy
reading as unavailable, rather than asking for a password or showing a zero.
No cost while it is shut. Nothing samples until the panel is on screen.
Opening it creates one repeating timer and opens the probes; closing it cancels
the timer, closes the probes and throws the history away. The panel prints its
own receipt while it is up, in the same voice as the menu badge:
This panel: 1 timer · 1 sample a second · Taurine 45.2 MB, with the megabytes
read live from the kernel. See
ADR 2.
Anything this Mac cannot answer is left out rather than drawn as a zero, with a line at the bottom naming what is missing and why.
A shelf for settings the system should have shipped correctly. The rule for what belongs here: small, local, reversible, and obviously right once you see it.
Scroll direction follows the device. macOS has one scroll direction for the whole machine, so anyone using a trackpad and a wheel mouse has to pick which of the two feels wrong. Switch this on and each device gets the direction it should have had: trackpads and the Magic Mouse scroll naturally, wheel mice scroll the traditional way. Flip the system setting and the correction moves to the other class, so the feature works the same for people who prefer the traditional feel everywhere.
Off by default, because modifying scroll events needs Accessibility permission,
and Taurine would rather ask for nothing until you ask it to. Installed with
make install or taurine-install, it keeps that permission across upgrades. A
copy made any other way is a new app to macOS after every build: remove Taurine
from the Accessibility list with the minus button and add it back. The menu item
says so when that has happened, instead of looking switched on and doing nothing.
One known limit, stated because you would otherwise find it yourself: a mouse driven by vendor software (Logi Options+ and friends) hands macOS scroll events already reshaped to look like a trackpad's, so Taurine leaves them alone and the feature appears to do nothing for that mouse. Invert the wheel in the vendor software instead, or quit it and let Apple's own driver present the mouse. The reasoning, the evidence and the better design that is not written yet are all in ADR 4.
⌘X and ⌘V cut and paste files in Finder. ⌘X has never done anything in Finder. The move has always been there, as ⌥⌘V ("Move Item Here"), behind a keystroke almost nobody finds. Switch this on and the two keys your hands already know do it:
⌘X → ⌘C copy, and remember a cut is pending
⌘V → ⌥⌘V Move Item Here, if that cut is still on the pasteboard
Taurine moves no files. It rewrites two keystrokes into two Finder already answers, and Finder does the rest, so the progress sheet, the "an item with that name already exists" dialog, the password prompt for a folder you don't own and ⌘Z to undo all behave exactly as they always do. Renaming is untouched: in a text field ⌘X still cuts text. Nothing moves until you paste, so a cut you never paste is just a copy you never pasted, and ⌘C or Escape calls it off.
Off by default, and it needs the same Accessibility permission as the scroll fix. The keyboard tap it uses exists only while Finder is the front application: switch to anything else and the tap and its thread are gone, so there is nothing that could see you typing. The evidence, the measurements and the cases where it declines to act are in ADR 6.
⌫ moves files to the Trash. In Finder the Delete key does nothing. Not something surprising: nothing at all. The command is there, on ⌘⌫, and the key your hand reaches for is inert. Switch this on and ⌫ becomes ⌘⌫, so Finder puts the selection in the Trash with its own confirmation, its own password prompt for files you don't own, and ⌘Z to bring them back. Nothing is deleted and nothing is in Taurine's hands.
Because this key can throw something away, it is careful in a way the cut fix is not. It fires only when Finder positively reports a list of files: a rename field, a search box, a dialog, or any question Finder fails to answer all leave ⌫ exactly as it is today. One surprise worth knowing before you switch it on: with the sidebar focused, ⌘⌫ removes a favourite rather than a file, and this cannot tell the two lists apart.
↩ opens instead of renaming, and ⌘↩ renames. Finder is the only file manager where Return renames. Switch this on and ↩ becomes ⌘O; renaming moves to ⌘↩, which Finder leaves unbound. Inside a rename field ↩ still commits the name. This one is taste rather than a mistake, which is why it is its own switch.
Both of these share the tap and the permission with the cut fix, and both are laid out with their measurements in ADR 7.
⇧⌘V pastes as plain text everywhere. Chrome, Firefox, VS Code and Slack put "paste without formatting" on ⇧⌘V. Pages, Keynote, Mail, Notes, Safari and TextEdit put the same command on ⌥⇧⌘V. So the shortcut works or doesn't depending on which window is in front.
This one uses no tap and no permission. macOS can already override a menu item's shortcut by title, for every application at once, and that is what System Settings writes when you add an App Shortcut by hand. Taurine writes the same entry, in English and in German, and merges rather than replacing, so anything you bound yourself is left alone and switching off leaves the preference exactly as it was found. Applications pick it up the next time they start. Why a preference beats a system-wide keyboard tap, and what it does not cover, is in ADR 8.
macOS 27 has one built in: System Settings → Battery. Taurine's own daemon is gone (ADR 11). If an older version installed it, Remove old charge daemon… appears in the menu until you use it.
taurine # launch the menu bar app
taurine -- make build # awake for exactly this command's lifetime
taurine why # who is keeping this Mac awake right now?
taurine lock # lock the screen now, without sleeping
taurine lockable on|off # let the screen lock while awake (Mac keeps working)
taurine on | off | toggle # drive the running menu bar app
taurine helptaurine -- <command> is caffeinate <command> with a pulse: it prints a bull,
holds assertions for the child's life, and lets go the moment it exits, which is
what you want in front of a long build or upload. It holds the same shape the
menu bar app would: display and system normally, system alone once taurine lockable on has said the screen may go dark.
Decisions worth writing down live in docs/adr: why there
is no package manager, why the activity panel costs nothing while it is closed,
why power comes from IOReport rather than powermetrics, why the battery is
read from its gauge and the wall figure has to corroborate itself, which kernel
counters are read wide enough not to wrap, why scroll direction belongs to the
device,
how ⌘X, ⌫ and ↩ are rewritten in Finder without Taurine touching a single file,
and why the plain-text paste fix deliberately uses a system preference instead
of a keyboard tap.
THIRD_PARTY.md records everything in the repository that came
from somewhere else. The check behind those findings, asking GitHub code search
whether the distinctive identifiers added since the last tag also co-occur in
somebody else's repository, used to live in this repo as a script and a
tag-triggered workflow. By the time a tag exists the release is already cut, so
a copyleft hit could only be answered with a retraction, not a fix. It now runs
earlier, from one shared copy in
oss-kit, as a gate inside oss release, before this or any other repository in the fleet is tagged.
MIT, see LICENSE. Do what you like; keep the notice.
Taurine is not affiliated with, authorised by, or endorsed by Apple Inc. Apple, macOS and Finder are trademarks of Apple Inc., used here only to say which system this software runs on and which parts of it these fixes address. "Things Apple got wrong" is the author's opinion about product design. No affiliation with any energy drink is claimed either.
