Hammerspoon
Script your Mac with Lua.
About Hammerspoon
Hammerspoon bridges macOS APIs to Lua, so you can script windows, hotkeys, Wi-Fi events, USB devices and more.
Install Hammerspoon
Download it from the links above, or install it from the Terminal:
brew install --cask hammerspoon Questions about Hammerspoon
Is Hammerspoon free?
Yes. Hammerspoon is free and open source under the MIT license. The source code is on GitHub at Hammerspoon/hammerspoon.
Where can I download Hammerspoon for Mac?
Download Hammerspoon from the developer's website (hammerspoon.org) and GitHub. MacWorthy links only to official sources.
Can I install Hammerspoon from the Terminal?
Yes. With Homebrew, run brew install --cask hammerspoon.
What are good alternatives to Hammerspoon?
Other ai & automation apps for Mac worth a look are Keyboard Maestro (one-time purchase), Osaurus (open source), Agent Smith (open source) and Perch (open source).
Other ai & automation apps like Hammerspoon
Keyboard Maestro
Automate anything you can do with a Mac.
Osaurus
A local home for AI agents, written in Swift.
Agent Smith
A team of AI agents that works in your Mac's shell.
Perch
Shows what your coding agents are waiting for, in the notch.
Enconvo
An AI agent launcher that works across your whole Mac.
BoltAI
Every AI model, in one native app.
Elephas
Answers from your own notes and documents, with sources.
BoxBox
Tells you when your AI coding agents finish or need you.