Hammerspoon

Published: (March 13, 2026 at 02:34 PM EDT)
2 min read
Source: Hacker News

Source: Hacker News

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 macOS. At its core, Hammerspoon is 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. With these, you can write Lua scripts to control many aspects of your macOS 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. Several resources can help you:

What is the history of the project?

Hammerspoon is a fork of Mjolnir. Mjolnir aimed to be a very minimal application, with its extensions hosted externally and managed using a Lua package manager. Hammerspoon provides 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
0 views
Back to Blog

Related posts

Read more »

Sunsetting Jazzband

TL;DR Jazzband is sunsetting. New sign‑ups are disabled. Project leads will be contacted before PyCon US 2026 to coordinate transfers. The wind‑down planhttps:/...

Jemalloc un-abandoned by Meta

- Meta recognizes the long‑term benefits of jemalloc, a high‑performance memory allocator, in its software infrastructure. - We are renewing focus on jemalloc,...