Desktop App Productivity ★ 16,462 stars on GitHub

Hammerspoon

Hammerspoon connects your operating system to lightweight scripts so you can control windows, shortcuts, and system settings effortlessly.

Get Command-Line Tool →

Guide and Overview

What it does in plain English

Hammerspoon lets you take total control of your Mac computer by turning everyday keyboard shortcuts and system triggers into custom actions. You write simple text instructions using a lightweight programming language, and the application listens in the background to execute them instantly. Whether you want to rearrange windows with a single keystroke, mute your microphone automatically when joining calls, or launch specific apps on startup, it bends your computer to your exact workflow.

Who it’s for

  • Power users who want to customize every corner of their Mac experience without dealing with bloated software.
  • Productivity enthusiasts looking to build lightning-fast custom keyboard shortcuts for window management and repetitive tasks.
  • Developers and system administrators who enjoy configuring their environment using lightweight text scripts.

Key features

  • Connects directly to core operating system features through simple, readable scripting instructions.
  • Controls window layouts, audio volumes, screen brightness, and network states instantly.
  • Runs quietly in the background with minimal resource consumption, ensuring your computer stays fast.
  • Highly extensible system supported by a vibrant community offering ready-made configuration examples.

How to install (Download)

To get started, you can download the application package directly from the latest release page. Once downloaded, simply drag the application icon into your main applications folder to finish setting it up. Alternatively, if you use command-line setup tools on your Mac, you can install it easily by typing brew install hammerspoon --cask. You can also visit the Official Website to read documentation and get started guides.

Pros and Cons

  • Pros: Completely free and open-source, highly customizable, lightweight background resource usage.
  • Cons: Requires writing small text scripts to perform actions, as it does not come with pre-built buttons for everything.

Optional commercial services unrelated to the open-source developer. Clicking an #ad link helps fund HubHum at no extra cost to you.

  • ★ Top Recommended — Systeme.io: Free-forever all-in-one platform to build landing pages, newsletters, and automated workflows with zero monthly fees — Activate Systeme.io → (#ad)
  • AdGuard: Block intrusive ads, tracking scripts, and phishing domains system-wide across all browsers and desktop apps — AdGuard (#ad)
  • InterServer: Launch and host self-hosted web apps 24/7 on managed Linux cloud VPS servers starting at $3/month — InterServer (#ad)

Official Source & Credits: Official Source / Credits

Affiliate transparency (#ad): Some links on this page are affiliate links. If you choose to activate a service through them, we may earn a commission at no extra cost to you.

Your Saved Favorites

Your favorite apps are saved right here in this browser.


Sign in with one click to link your GitHub profile and sync favorites.