# Introducing CommandH: Hide That Last App

URL: https://www.mattsenter.com/blog/introducing-commandh

*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. CommandH runs on macOS 14 Sonoma or later. You can now download it from the Mac App Store. The source code is also available on GitHub.*

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. You can now download it from the Mac App Store. The source code is also available on GitHub.

[Meet CommandH](https://www.mattsenter.com/projects/commandh) · [Source code on GitHub](https://github.com/MattSenter/commandh)
