# Hammerspoon vs Keyboard Maestro

Published January 1, 2026 · Updated August 10, 2026

Hammerspoon and Keyboard Maestro are both Mac automation on a Mac, so the pick depends on workflow. Install Hammerspoon if you want free, scriptable control over window tiling and system watchers; buy Keyboard Maestro for US$36.00 once if your team needs. As of November 2026, both install with brew install --cask hammerspoon and brew install --cask keyboard-maestro.

Pick Hammerspoon 1.1.1 when you want a free, open-source MIT daemon you can extend without a canvas ceiling; pick Keyboard Maestro 11.1.1 when you need recorded macros, conflict palettes, clipboard stacks, and a visual debugger teammates can read. Calling a single global winner would paper over that split; Apple Shortcuts and BetterTouchTool cover different ground in Mac automation. If Lua is fun for you, start with Hammerspoon. If you need throughput this hour, buy Keyboard Maestro. Long-term Mac power users often end up with both tools split by job: tiling and system watchers in Hammerspoon, text and clipboard workflows in Keyboard Maestro.

## Head to head

| Factor | Hammerspoon | Keyboard Maestro |
| --- | --- | --- |
| Price | Free | Paid |
| Open Source | No | No |
| Replaces | Keyboard Maestro ($36) | — |
| Best for | automation, lua, scripting | automation, macros, keyboard |
| Install | brew install --cask hammerspoon | brew install --cask keyboard-maestro |
| Category | System Utilities | System Utilities |

## Hammerspoon

Powerful macOS automation tool using Lua scripting

Install: `brew install --cask hammerspoon`

[Hammerspoon on Bundl](https://bundl.run/apps/hammerspoon)

## Keyboard Maestro

Automation software

Install: `brew install --cask keyboard-maestro`

[Keyboard Maestro on Bundl](https://bundl.run/apps/keyboard-maestro)

## Features

- **Automation Model.** Code ceiling vs canvas floor still decides the winner. Hammerspoon rewards programmers, Keyboard Maestro rewards visual builders.
- **Window & Workspace Control.** Hammerspoon wins for developers wanting bespoke tiling reactors; Keyboard Maestro is fine for deterministic snap palettes.
- **Triggers & Event Reactivity.** Both are event-rich; Hammerspoon exposes more system signals via Lua, Keyboard Maestro exposes them as GUI triggers.
- **Learning Curve & Onboarding.** Keyboard Maestro wins onboarding decisively; Hammerspoon's curve pays off later for coders.
- **Text, Clipboard & Data Handling.** Keyboard Maestro's clipboard/text pipeline is best-in-class among Mac automators.
- **Extensibility & Ecosystem.** Hammerspoon is the more open, hackable runtime; Keyboard Maestro is the richer out-of-the-box library.
- **Reliability & Debugging.** Keyboard Maestro's visual debugger and logs shorten mean-time-to-fix for most users.
- **Pricing & Licensing (2026).** Hammerspoon wins on price alone; Keyboard Maestro's one-time US$36 remains among the best values in paid Mac utilities.
- **Maintenance & Platform Fit (Tahoe / Apple Silicon).** Both healthy in November 2026; Keyboard Maestro's commercial rhythm edges platform-fit confidence for risk-averse shops.

## FAQ

### Which version should I install today on macOS Tahoe 26.x?

Hammerspoon 1.1.1 (GitHub releases or Homebrew) and Keyboard Maestro 11.1.1 (stairways.com / Homebrew). Both are universal, notarized, and require Accessibility permission after a major OS upgrade; Hammerspoon needs macOS 13.0 or later, Keyboard Maestro 10.13 or later.

### Is Hammerspoon free? Is Keyboard Maestro a subscription?

Hammerspoon is MIT free. US$0 forever. Keyboard Maestro is a one-time US$36 purchase (US$25 upgrade, and purchases since 1 March 2023 receive a free upgrade to version 11) in November 2026, not a subscription. Neither vendor moved to recurring billing by the re-check date.

### Do I need to code to use Hammerspoon?

Yes. Hammerspoon automations are Lua functions against hs.* APIs. Spoons bundle reusable behaviors, but customizing them still means editing init.lua. If that sounds unwelcome, Keyboard Maestro's visual canvas is the faster fit.

### Can they replace Apple Shortcuts?

They complement it. Shortcuts handles system integrations and iCloud automations; Hammerspoon covers daemon-like reactors and tiling you cannot express in Shortcuts; Keyboard Maestro covers clipboard/macro/palette depth that Shortcuts lacks. Many power users run two of the three.

### Which is more reliable for window management?

Hammerspoon gives finer-grained tiling reactors but demands defensive Lua (nil windows on Space transitions). Keyboard Maestro's Manipulate Windows actions are more predictable if you only need deterministic halves/thirds and app-specific placement.

### Can I run both at once?

Yes, but coordinate hotkeys to avoid conflicts. Typical combo: Hammerspoon owns tiling and menubar widgets in Lua; Keyboard Maestro owns text expansion, clipboard history, and recorded workflows. Give Accessibility to both.

### Which has better clipboard history?

Keyboard Maestro. Named clipboards, persistent history, clipboard filters, OCR, and regex follow-ups are built in. Hammerspoon can watch pasteboard with Lua, but you build the history UX yourself.

### How do teams share automations?

Keyboard Maestro macros paste as XML/plist and can be synced via iCloud/Dropbox. Hammerspoon configs are Lua files, version-control them in git and share Spoons on GitHub. Visual macros are more readable to non-programmers.

### Did pricing change since early 2026?

No material change in this November re-check: Hammerspoon stayed free/MIT, now at release 1.1.1; Keyboard Maestro stayed at US$36 one-time, now at version 11.1.1, with purchases since 1 March 2023 upgraded to version 11 for free. Always verify hammerspoon.org/keyboardmaestro.com at checkout for taxes.

### Which is safer on battery-dependent Macs?

Keyboard Maestro idles marginally cheaper because it fires only on triggers. Hammerspoon's impact depends on your Lua, tight hs.timer polling or aggressive window watchers can raise idle CPU, but a minimal init.lua is similarly frugal.

### Is Keyboard Maestro free?

No. Keyboard Maestro is a one-time US$36 purchase for version 11, US$25 to upgrade, and purchases since 1 March 2023 receive a free upgrade to version 11; there is no subscription, so you pay once instead of monthly. The free option in this pairing is Hammerspoon: release 1.1.1 is US$0 under the MIT licence.

### What are Hammerspoon alternatives?

Keyboard Maestro is the closest alternative; both run as menu-bar daemons that automate windows, hotkeys and triggers on macOS, but Keyboard Maestro works through visual macros at US$36 one-time while Hammerspoon works through free Lua scripts. Apple Shortcuts and BetterTouchTool are the adjacent Mac automation tools to consider. Developers who keep their configs in git stay with Hammerspoon, and mixed teams that need macros non-coders can read pick Keyboard Maestro instead.

### Should I choose Keyboard Maestro or BetterTouchTool?

Choose Keyboard Maestro for macro automation: recorded sequences, conflict palettes and clipboard history cost US$36.00 one-time. Choose BetterTouchTool to customise input devices and automate computer systems, at US$15 for two years of updates or US$25 for updates while the app exists, with a 45-day trial. Hammerspoon is the third option, free under the MIT licence, when you would rather script window tiling and system watchers in Lua.

## Sources

- [Hammerspoon official site](https://www.hammerspoon.org/)
- [Hammerspoon GitHub releases (1.0.0 April 2026)](https://github.com/Hammerspoon/hammerspoon/releases)
- [Homebrew cask: hammerspoon](https://formulae.brew.sh/cask/hammerspoon)
- [Keyboard Maestro official site (pricing & v11)](https://www.keyboardmaestro.com/main/)
- [Keyboard Maestro wiki. What's New (v11)](https://wiki.keyboardmaestro.com/manual/Whats_New)
- [Keyboard Maestro. Wikipedia](https://en.wikipedia.org/wiki/Keyboard_Maestro)
- [Homebrew cask: keyboard-maestro (alternative distribution metadata)](https://formulae.brew.sh/cask/keyboard-maestro)
- [Hammerspoon release notes](https://www.hammerspoon.org/releasenotes/)
- [GitHub latest release API](https://api.github.com/repos/Hammerspoon/hammerspoon/releases/latest)
- [Stairways Software: History](https://www.stairways.com/main/history)
- [Buy BetterTouchTool](https://folivora.ai/buy/)
- [Homebrew cask: bettertouchtool](https://formulae.brew.sh/cask/bettertouchtool)

## Related

- [Keyboard Maestro vs Alfred](https://bundl.run/compare/keyboard-maestro-vs-alfred)

```json
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "https://bundl.run/#organization",
      "name": "Bundl.run",
      "url": "https://bundl.run",
      "logo": {
        "@type": "ImageObject",
        "url": "https://bundl.run/og-image.png",
        "width": 1200,
        "height": 630
      },
      "description": "The Ninite for Mac. Install all your essential Mac apps with one terminal command.",
      "sameAs": [
        "https://github.com/abhiofficial/bundl-mac-setup",
        "https://x.com/bundlrun",
        "https://www.producthunt.com/products/bundl-run"
      ],
      "foundingDate": "2024",
      "contactPoint": {
        "@type": "ContactPoint",
        "contactType": "customer support",
        "url": "https://bundl.run/faq"
      }
    },
    {
      "@type": "WebSite",
      "@id": "https://bundl.run/#website",
      "name": "Bundl.run",
      "url": "https://bundl.run",
      "description": "The Ninite for Mac. Install all your essential Mac apps with one terminal command.",
      "publisher": {
        "@id": "https://bundl.run/#organization"
      },
      "inLanguage": "en-US"
    },
    {
      "@type": "Person",
      "@id": "https://bundl.run/authors/alex-chen#person",
      "name": "Alex Chen",
      "jobTitle": "Senior Developer Tools Specialist",
      "url": "https://bundl.run/authors/alex-chen",
      "worksFor": {
        "@id": "https://bundl.run/#organization"
      },
      "description": "Alex Chen has been evaluating developer tools and productivity software for over 12 years, with deep expertise in code editors, terminal emulators, and development environments. As a former software engineer at several Bay Area startups, Alex brings hands-on experience with the real-world workflows these tools are meant to enhance. Alex tests each application extensively on both Intel and Apple Silicon Macs, documenting performance metrics, integration capabilities, and workflow efficiency. When not reviewing software, Alex contributes to open-source projects and writes technical tutorials for the developer community.",
      "knowsAbout": [
        "Code Editors & IDEs",
        "Terminal Emulators",
        "Version Control Tools",
        "DevOps & CI/CD",
        "API Development",
        "Performance Benchmarking"
      ],
      "image": "https://bundl.run/authors/alex-chen.svg"
    },
    {
      "@type": "BreadcrumbList",
      "@id": "https://bundl.run/compare/hammerspoon-vs-keyboard-maestro#breadcrumb",
      "itemListElement": [
        {
          "@type": "ListItem",
          "position": 1,
          "name": "Home",
          "item": "https://bundl.run"
        },
        {
          "@type": "ListItem",
          "position": 2,
          "name": "Apps",
          "item": "https://bundl.run/apps"
        },
        {
          "@type": "ListItem",
          "position": 3,
          "name": "Compare",
          "item": "https://bundl.run/compare"
        },
        {
          "@type": "ListItem",
          "position": 4,
          "name": "Hammerspoon vs Keyboard Maestro",
          "item": "https://bundl.run/compare/hammerspoon-vs-keyboard-maestro"
        }
      ]
    },
    {
      "@type": "WebPage",
      "@id": "https://bundl.run/compare/hammerspoon-vs-keyboard-maestro",
      "url": "https://bundl.run/compare/hammerspoon-vs-keyboard-maestro",
      "name": "Hammerspoon vs Keyboard Maestro",
      "description": "Pick Hammerspoon 1.1.1 when you want a free, open-source MIT daemon you can extend without a canvas ceiling; pick Keyboard Maestro 11.1.1 when you need recorded macros, conflict palettes, clipboard stacks, and a visual debugger teammates can read. Calling a single global winner would paper over that split; Apple Shortcuts and BetterTouchTool cover different ground in Mac automation. If Lua is fun for you, start with Hammerspoon. If you need throughput this hour, buy Keyboard Maestro. Long-term Mac power users often end up with both tools split by job: tiling and system watchers in Hammerspoon, text and clipboard workflows in Keyboard Maestro.",
      "isPartOf": {
        "@id": "https://bundl.run/#website"
      },
      "publisher": {
        "@id": "https://bundl.run/#organization"
      },
      "inLanguage": "en-US",
      "datePublished": "2026-01-01T00:00:00Z",
      "dateModified": "2026-08-10T13:34:04.000Z",
      "image": "https://bundl.run/og-image.png",
      "author": {
        "@id": "https://bundl.run/authors/alex-chen#person"
      },
      "mainEntity": {
        "@id": "https://bundl.run/compare/hammerspoon-vs-keyboard-maestro#article"
      },
      "breadcrumb": {
        "@id": "https://bundl.run/compare/hammerspoon-vs-keyboard-maestro#breadcrumb"
      }
    },
    {
      "@type": "Article",
      "@id": "https://bundl.run/compare/hammerspoon-vs-keyboard-maestro#article",
      "headline": "Hammerspoon vs Keyboard Maestro — Which is Better in 2026?",
      "description": "Pick Hammerspoon 1.1.1 when you want a free, open-source MIT daemon you can extend without a canvas ceiling; pick Keyboard Maestro 11.1.1 when you need recorded macros, conflict palettes, clipboard stacks, and a visual debugger teammates can read. Calling a single global winner would paper over that split; Apple Shortcuts and BetterTouchTool cover different ground in Mac automation. If Lua is fun for you, start with Hammerspoon. If you need throughput this hour, buy Keyboard Maestro. Long-term Mac power users often end up with both tools split by job: tiling and system watchers in Hammerspoon, text and clipboard workflows in Keyboard Maestro.",
      "image": "https://bundl.run/og-image.png",
      "speakable": {
        "@type": "SpeakableSpecification",
        "cssSelector": [
          "h1",
          ".quick-answer",
          ".tldr-summary"
        ]
      },
      "author": {
        "@id": "https://bundl.run/authors/alex-chen#person"
      },
      "publisher": {
        "@id": "https://bundl.run/#organization"
      },
      "datePublished": "2026-01-01T00:00:00Z",
      "dateModified": "2026-08-10T13:34:04.000Z",
      "mainEntityOfPage": {
        "@type": "WebPage",
        "@id": "https://bundl.run/compare/hammerspoon-vs-keyboard-maestro"
      },
      "isPartOf": {
        "@id": "https://bundl.run/#website"
      },
      "about": [
        {
          "@type": "SoftwareApplication",
          "name": "Hammerspoon",
          "url": "https://bundl.run/apps/hammerspoon"
        },
        {
          "@type": "SoftwareApplication",
          "name": "Keyboard Maestro",
          "url": "https://bundl.run/apps/keyboard-maestro"
        }
      ],
      "mentions": [
        {
          "@type": "SoftwareApplication",
          "name": "Hammerspoon",
          "url": "https://bundl.run/apps/hammerspoon"
        },
        {
          "@type": "SoftwareApplication",
          "name": "Keyboard Maestro",
          "url": "https://bundl.run/apps/keyboard-maestro"
        }
      ]
    },
    {
      "@type": "FAQPage",
      "@id": "https://bundl.run/compare/hammerspoon-vs-keyboard-maestro#faq",
      "mainEntity": [
        {
          "@type": "Question",
          "name": "Which version should I install today on macOS Tahoe 26.x?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Hammerspoon 1.1.1 (GitHub releases or Homebrew) and Keyboard Maestro 11.1.1 (stairways.com / Homebrew). Both are universal, notarized, and require Accessibility permission after a major OS upgrade; Hammerspoon needs macOS 13.0 or later, Keyboard Maestro 10.13 or later."
          }
        },
        {
          "@type": "Question",
          "name": "Is Hammerspoon free? Is Keyboard Maestro a subscription?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Hammerspoon is MIT free. US$0 forever. Keyboard Maestro is a one-time US$36 purchase (US$25 upgrade, and purchases since 1 March 2023 receive a free upgrade to version 11) in November 2026, not a subscription. Neither vendor moved to recurring billing by the re-check date."
          }
        },
        {
          "@type": "Question",
          "name": "Do I need to code to use Hammerspoon?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Yes. Hammerspoon automations are Lua functions against hs.* APIs. Spoons bundle reusable behaviors, but customizing them still means editing init.lua. If that sounds unwelcome, Keyboard Maestro's visual canvas is the faster fit."
          }
        },
        {
          "@type": "Question",
          "name": "Can they replace Apple Shortcuts?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "They complement it. Shortcuts handles system integrations and iCloud automations; Hammerspoon covers daemon-like reactors and tiling you cannot express in Shortcuts; Keyboard Maestro covers clipboard/macro/palette depth that Shortcuts lacks. Many power users run two of the three."
          }
        },
        {
          "@type": "Question",
          "name": "Which is more reliable for window management?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Hammerspoon gives finer-grained tiling reactors but demands defensive Lua (nil windows on Space transitions). Keyboard Maestro's Manipulate Windows actions are more predictable if you only need deterministic halves/thirds and app-specific placement."
          }
        },
        {
          "@type": "Question",
          "name": "Can I run both at once?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Yes, but coordinate hotkeys to avoid conflicts. Typical combo: Hammerspoon owns tiling and menubar widgets in Lua; Keyboard Maestro owns text expansion, clipboard history, and recorded workflows. Give Accessibility to both."
          }
        },
        {
          "@type": "Question",
          "name": "Which has better clipboard history?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Keyboard Maestro. Named clipboards, persistent history, clipboard filters, OCR, and regex follow-ups are built in. Hammerspoon can watch pasteboard with Lua, but you build the history UX yourself."
          }
        },
        {
          "@type": "Question",
          "name": "How do teams share automations?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Keyboard Maestro macros paste as XML/plist and can be synced via iCloud/Dropbox. Hammerspoon configs are Lua files, version-control them in git and share Spoons on GitHub. Visual macros are more readable to non-programmers."
          }
        },
        {
          "@type": "Question",
          "name": "Did pricing change since early 2026?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "No material change in this November re-check: Hammerspoon stayed free/MIT, now at release 1.1.1; Keyboard Maestro stayed at US$36 one-time, now at version 11.1.1, with purchases since 1 March 2023 upgraded to version 11 for free. Always verify hammerspoon.org/keyboardmaestro.com at checkout for taxes."
          }
        },
        {
          "@type": "Question",
          "name": "Which is safer on battery-dependent Macs?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Keyboard Maestro idles marginally cheaper because it fires only on triggers. Hammerspoon's impact depends on your Lua, tight hs.timer polling or aggressive window watchers can raise idle CPU, but a minimal init.lua is similarly frugal."
          }
        },
        {
          "@type": "Question",
          "name": "Is Keyboard Maestro free?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "No. Keyboard Maestro is a one-time US$36 purchase for version 11, US$25 to upgrade, and purchases since 1 March 2023 receive a free upgrade to version 11; there is no subscription, so you pay once instead of monthly. The free option in this pairing is Hammerspoon: release 1.1.1 is US$0 under the MIT licence."
          }
        },
        {
          "@type": "Question",
          "name": "What are Hammerspoon alternatives?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Keyboard Maestro is the closest alternative; both run as menu-bar daemons that automate windows, hotkeys and triggers on macOS, but Keyboard Maestro works through visual macros at US$36 one-time while Hammerspoon works through free Lua scripts. Apple Shortcuts and BetterTouchTool are the adjacent Mac automation tools to consider. Developers who keep their configs in git stay with Hammerspoon, and mixed teams that need macros non-coders can read pick Keyboard Maestro instead."
          }
        },
        {
          "@type": "Question",
          "name": "Should I choose Keyboard Maestro or BetterTouchTool?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Choose Keyboard Maestro for macro automation: recorded sequences, conflict palettes and clipboard history cost US$36.00 one-time. Choose BetterTouchTool to customise input devices and automate computer systems, at US$15 for two years of updates or US$25 for updates while the app exists, with a 45-day trial. Hammerspoon is the third option, free under the MIT licence, when you would rather script window tiling and system watchers in Lua."
          }
        }
      ],
      "isPartOf": {
        "@id": "https://bundl.run/compare/hammerspoon-vs-keyboard-maestro"
      }
    }
  ]
}
```