2026-02-26 10:52:36 +00:00
2025-11-18 23:38:33 +00:00
2025-11-18 23:38:33 +00:00
2026-02-26 10:52:36 +00:00
2023-02-07 11:29:32 -05:00
2025-07-29 19:58:55 +01:00
2025-01-01 09:50:30 +00:00
2025-11-18 23:38:33 +00:00
2025-11-18 23:38:33 +00:00
2025-07-29 19:58:55 +01:00
2023-02-07 11:29:32 -05:00

Hammerspoon

CI codecov.io Downloads current release Downloads all releases Latest tag Latest release

Discord: Click to join

What is Hammerspoon?

This is a tool for powerful automation of OS X. At its core, Hammerspoon is just a bridge between the operating system and a Lua scripting engine.

What gives Hammerspoon its power is a set of extensions that expose specific pieces of system functionality, to the user. With these, you can write Lua scripts to control many aspects of your OS X environment.

How do I install it?

Manually

  • Download the latest release
  • Drag Hammerspoon.app from your Downloads folder to Applications

Homebrew

  • brew install hammerspoon --cask

What next?

Out of the box, Hammerspoon does nothing - you will need to create ~/.hammerspoon/init.lua and fill it with useful code. There are several resources which can help you:

What is the history of the project?

Hammerspoon is a fork of Mjolnir. Mjolnir aims to be a very minimal application, with its extensions hosted externally and managed using a Lua package manager. We wanted to provide a more integrated experience.

What is the future of the project?

Our intentions for Hammerspoon broadly fall into these categories:

  • Ever wider coverage of system APIs in Extensions
  • Tighter integration between extensions
  • Smoother user experience
Description
Mirror of Hammerspoon/hammerspoon (GitHub)
Readme MIT 170 MiB
Languages
Objective-C 51.3%
Lua 24.8%
C 16.4%
HTML 5.6%
Shell 0.7%
Other 1.1%