Open Source macOS Window Management: How to Choose One

macos window management open source options deliver tiling, snapping and keyboard control without a subscription; here is how the main projects differ and how to verify one before installing.

Key answers

  • Open source window management on macOS means a third-party app whose code is published, which repositions and resizes other applications' windows using the system Accessibility API.
  • The main approaches are snap-to-grid (Rectangle, Spectacle), automatic tiling (yabai, AeroSpace, Amethyst), and scriptable frameworks (Hammerspoon, yabai).
  • The main cost is an Accessibility permission, not money; every option here is free to install.
  • The biggest decision is whether windows should tile themselves or only move when you tell them to.
  • The safest habit is to check the project repository's licence file and most recent release before you install anything.

What "open source window management" actually means on macOS

A window manager is a background app that reads and changes the position and size of windows belonging to other apps.

macOS does not expose a public window-management API to ordinary applications. Every tool in this category therefore works through the same two mechanisms: the Accessibility permission, which lets an app observe and manipulate other apps' windows, and private APIs or AppleScript bridges for features the public path cannot reach. Because the Accessibility permission sits under System Settings, you can revoke access at any time.

The consequences are practical rather than theoretical. A tool with the Accessibility permission can see the titles and bounds of your windows. That is the minimum information needed to move them, and it is also the reason a window manager is one of the more privileged utilities you can install. Open source matters here because you, or someone you trust, can read what the app does with that access instead of taking a vendor's word for it.

The main open-source options and how they differ

The four families below cover almost every open-source project in this category: snap-to-grid, automatic tiling, scriptable frameworks, and older utilities that are no longer maintained.

Project

Approach

Best fit

Watch out for

Rectangle

Snap-to-grid with keyboard shortcuts and a menu bar item

Users who want predictable halves, quarters and thirds

Its paid Pro edition is a separate commercial app; the free app is the open-source one

AeroSpace

Keyboard-driven automatic tiling in the spirit of i3

Developers who work entirely from the keyboard

Tiled layouts reorganise windows for you, which surprises people who expect manual control

yabai

Scriptable tiling with a command-line interface and advanced options

Users who want to automate layout rules and Spaces behaviour

Some of its advanced features depend on configuration that reduces system protections, so read the project's own documentation before enabling them

Amethyst

Automatic tiling with predefined layouts and mouse-friendly options

People who want tiling without learning a scripting language

Layout presets limit how finely you can customise placement

Hammerspoon

A general automation framework with window commands

Users who already script their desktop or want one tool for many jobs

Window management is a small part of it; you write the behaviour yourself

Spectacle

Snap-to-grid with classic keyboard shortcuts

Nobody starting fresh

Development has stopped, and the project directs users to successors

Two notes on that table. First, "open source" is a property of a specific repository, not of a brand: several of these projects also ship paid editions, and those editions are usually not the open-source code. Second, features that depend on private APIs can change with any macOS release, so the project's release notes matter more than any comparison table, including this one.

Which one should you pick?

Choose snap-to-grid if you want windows to stay where you put them, and choose automatic tiling if you want the keyboard to define your layout.

Workflow diagram for macos window management open source.

The snap-to-grid camp is the easier starting point. You press a shortcut, the focused window becomes a left half, a right third, or a corner, and nothing else moves unless you ask. This model survives interruptions well: a window that is already placed stays placed when you open a new app.

Automatic tiling is a different contract. The manager owns the layout, so opening a window reflows everything else. That is exactly what i3 and similar Linux window managers trained a generation of developers to expect, and it is why AeroSpace and yabai are popular with people who never touch a trackpad. It is also why first-day tiling feels chaotic: nothing is where it was five seconds ago.

Three more criteria decide the rest:

  1. Scriptability. If you want layout rules that depend on app name, display count, or Space, only a scriptable tool will do. yabai and Hammerspoon expose that control; Rectangle and Amethyst expose settings instead.
  2. Multiple displays and Spaces. Window managers differ in how they treat each display and each Space as a separate layout container. Test this on your own hardware before committing, because behaviour across displays is where most complaints originate.
  3. Maintenance status. A window manager that has not shipped a release since an older macOS version may still work, but it will not be fixed when Apple changes behaviour. Check the releases page for dates, not stars.
Editorial illustration for macos window management open source.

How to install and remove one safely

Install through your package manager of choice, grant Accessibility access on first launch, and keep a one-line uninstall command ready before you need it.

A typical flow looks like this:

  1. Read the repository first. Confirm the licence file exists, check the most recent release date, and look at the open issue count for permission-related problems on your macOS version.
  2. Install the released build rather than a random mirror. Homebrew casks are a common route for these projects, and each cask formula points at the project's own release artefact.
  3. Launch the app and grant Accessibility access when macOS prompts for it. If you decline, the app will run but no window will ever move.
  4. Test one behaviour immediately: place a window on the left half, then open a new app and see whether the layout held. That single test separates snap-to-grid from tiling in about ten seconds.
  5. Uninstall by quitting the app, removing it from Applications, and revoking its Accessibility entry. Removing the app alone can leave a stale permission entry behind, which is harmless but untidy.

If you are comparing two tools side by side, do not run both with Accessibility access at once. Two managers issuing contradictory positions to the same window produce jitter that looks like a bug in either app.

Limitations and common mistakes

The most common failure is granting permission to the wrong app or to a copy of the app that macOS no longer recognises after an update.

Other limits worth knowing before you invest time:

  • Not every window can be managed. Some system dialogs, full-screen apps and windows that opt out of repositioning ignore move requests entirely. This is a macOS constraint, not a defect in the tool.
  • Advanced tiling may trade off system protections. Certain features require configuration that weakens macOS security defaults. Treat that as a deliberate decision with a documented cost, not as a checkbox to enable casually.
  • Mission Control and Spaces behave differently across projects. A layout that feels correct on one display can behave unexpectedly when Spaces are combined with display mirroring.
  • Unmaintained projects still install cleanly. Spectacle is the clearest example: it still works for many people, but it has been superseded, and new users should start with a maintained project instead.
  • A paid tier is not the open-source app. If a comparison table lists a price, check whether that price applies to the open-source build you intended to install.

FAQ

Before installing

Is an open-source window manager safe to install?
It is as safe as the code you can inspect and the permission you grant. Read the repository, prefer a released build, and grant Accessibility access only to the app you intend to use.

Does it need Accessibility permission?
Yes. Without that permission a window manager cannot see or move other apps' windows, so it will appear to do nothing.

Will it work on Apple Silicon and the current macOS release?
Usually, if the project has shipped a release recently. Check the release notes for your macOS version and architecture rather than assuming compatibility from an old review.

Can I use it across multiple displays and Spaces?
Most projects support both, but the details differ. Test a two-display setup before you build habits around one tool.

Do I have to disable system protections?
No for snap-to-grid tools. Some advanced tiling features in scriptable managers require configuration changes, and those are optional and documented by the project.

After installing

Why are my windows not snapping?
The Accessibility permission is almost always the cause. Re-check the entry in System Settings, then quit and relaunch the app.

Why does my layout jump when I open a new window?
You are running a tiling manager. It reflows the layout by design; switch to a manual layout preset or a snap-to-grid tool if that is not what you want.

Two apps are fighting over my windows. What now?
Quit one of them and revoke its Accessibility access. Running two window managers simultaneously is not a supported configuration.

How do I uninstall it completely?
Quit the app, delete it from Applications, and remove its Accessibility entry in System Settings.

Does a window manager drain battery?
A repositioning event costs very little, but a tiling manager that reacts to every window change runs more often. Measure with your own workload instead of relying on general claims.

Choosing between projects

Which is closest to i3?
AeroSpace is built for that expectation: keyboard-driven, automatic tiling, no mouse required. yabai offers comparable control through scripting.

Which is easiest for a first-time user?
Rectangle. Shortcuts, a menu bar item and a small settings surface mean you can place a window correctly within a minute of installing it.

Can I manage windows with a script instead of an app?
Yes. Hammerspoon is an automation framework where window commands are one part of a broader scripting environment.

Is the free version enough?
For snap-to-grid use, usually yes. Paid editions exist for some projects, and they add conveniences rather than the core open-source behaviour.

A five-minute decision checklist

Run this checklist before you commit to a project, and the choice usually makes itself.

  1. Decide whether the layout should be manual or automatic, and write the answer down.
  2. Confirm the repository has a licence file and a release from the past year.
  3. Install one tool only, grant Accessibility access, and test a single window placement.
  4. Try your real configuration: two displays if you have them, your usual Spaces, your usual apps.
  5. If the behaviour does not match the manual-or-automatic answer from step one, uninstall and try the other camp.

The point of choosing an open-source window manager is not to collect shortcuts. It is to make window placement predictable enough that you stop thinking about it, and to be able to verify what the tool does with the access you gave it.