The short version
On a Mac, Cmd+H hides the frontmost app: its windows disappear while the app keeps running, and clicking its Dock icon or switching to it with Cmd+Tab brings it back. Cmd+Option+H does the reverse and hides every other app. I use Cmd+H to clear my screen, but macOS refuses to hide the last visible app, so with one window left the keystroke does nothing. CommandH fixes that. It is a tiny, free menu bar app that makes Cmd+H work on that last app too. You can have it hide the app completely, or choose Show Desktop, which slides the windows aside and brings them back with another Cmd+H. CommandH is open source under the MIT license. It needs no Accessibility or Screen Recording permissions, makes no network requests, and collects no data. It runs on macOS 14 Sonoma or later, and for now installing it means building from source with the script the GitHub README walks you through.
On a Mac, Cmd+H (Command-H) hides the app you’re using: its windows disappear while the app keeps running, and clicking its Dock icon or switching to it with Cmd+Tab brings it back. Cmd+Option+H does the reverse and hides every other app.
I use Cmd+H to clear my screen. But on macOS, the last visible app refuses to hide. One window left, one more keystroke, and… nothing.
So I built CommandH. It’s a tiny menu bar app that makes Cmd+H work on that last app, too. You can hide the app completely or choose Show Desktop, which slides the windows aside and brings them back with another Cmd+H.
It’s free and open source under the MIT license. No Accessibility or Screen Recording permissions, no network requests, no data collected. Just a small fix that lets me get to my desktop.
CommandH runs on macOS 14 Sonoma or later. For now, installation means building from source; the GitHub README walks you through the script.
