LanesMac logoLanesMac

AeroSpace

AeroSpace on Mac: install, keys, config and uninstall

AeroSpace is the most popular i3-style tiling window manager for macOS. This guide covers what it does, how to install it, the keys you need on day one, where its config lives, how it handles workspaces, and how to remove it completely if it isn't for you.

By Mansi Gangani · Updated

Quick answer

AeroSpace is a free, open-source tiling window manager for macOS, modelled on i3. It arranges every window on a display in a tree of tiles, switches between its own virtual workspaces without animations, and is configured in one plain-text TOML file. Its README lists macOS 13 or later, says it never needs System Integrity Protection disabled, and calls the project a public beta that can be used every day but may still change before version 1.0. You install it with Homebrew (brew install --cask nikitabobko/tap/aerospace), allow Accessibility, and copy the default config to ~/.aerospace.toml to change it. The default keys use Option: Option-H, J, K and L move focus, Option-Shift with the same letters moves a window, and Option-1 to 9 switch workspaces. To uninstall it, quit AeroSpace so it brings hidden windows back on screen, run brew uninstall, then delete the config file and remove it from Accessibility.

What AeroSpace is

AeroSpace tiles windows the way i3 does on Linux: every window on a workspace sits in a tree of containers, split side by side or one above the other. Opening a window adds a tile and the others make room. It is free, MIT-licensed and written in Swift.

Its README describes it as a public beta: usable as a daily driver, but with breaking changes possible until version 1.0. It is aimed at advanced users and developers, and almost everything is done from the keyboard or its command-line tool.

  • Tree tiling inspired by i3, with horizontal and vertical tiles and an accordion layout
  • Its own virtual workspaces instead of macOS Spaces, switched instantly
  • Plain-text TOML config that fits in your dotfiles
  • A command-line tool with manpages and shell completion
  • No System Integrity Protection changes
  • Runs on macOS 13 or later

How to install AeroSpace

  1. 1

    Install with Homebrew

    Run brew install --cask nikitabobko/tap/aerospace in Terminal. You can also download the zip from its GitHub releases page and drag AeroSpace.app to Applications.

  2. 2

    Allow Accessibility

    Open AeroSpace, then allow it in System Settings → Privacy & Security → Accessibility. Like every Mac window manager, it needs this to move other apps' windows.

  3. 3

    Copy the default config

    Run cp /Applications/AeroSpace.app/Contents/Resources/default-config.toml ~/.aerospace.toml so you have a file to edit. AeroSpace also reads ~/.config/aerospace/aerospace.toml.

  4. 4

    Reload after edits

    Press Option-Shift-; to enter service mode, then Esc to reload the config.

The default keys

ActionDefault key
Focus left, down, up, rightOption-H, J, K, L
Move the window left, down, up, rightOption-Shift-H, J, K, L
Switch to workspace 1 to 9Option-1 to 9
Send the window to workspace 1 to 9Option-Shift-1 to 9
Tiles layout, horizontal or verticalOption-/
Accordion layoutOption-,
Resize smaller or largerOption-- and Option-=
Back to the previous workspaceOption-Tab
Service mode (reload, float, flatten)Option-Shift-;

Plain Option is also how macOS types characters like é and ç and jumps by word in text fields. If you use those a lot, change the modifier in the config, for example to Control-Option.

How AeroSpace workspaces work

AeroSpace doesn't use macOS Spaces. When a workspace isn't active, AeroSpace moves its windows just outside the visible area, into a bottom corner of the screen, and brings them back when you switch to it. That is why switching is instant, and why a one-pixel sliver of a hidden window can sometimes show.

Its guide also notes that macOS tends to behave better with "Displays have separate Spaces" turned off, and suggests turning on "Group windows by application" so Mission Control doesn't show tiny windows.

How to uninstall AeroSpace

AeroSpace's guide doesn't include uninstall steps, so these are the standard steps for a Homebrew app. Do them in this order so no windows stay hidden off screen.

  1. 1

    Quit AeroSpace

    Click its menu bar icon and quit. AeroSpace moves the windows of hidden workspaces back on screen when it quits.

  2. 2

    Remove the app

    Run brew uninstall --cask aerospace, or drag AeroSpace.app from Applications to the Trash if you installed it from the zip.

  3. 3

    Delete the config

    Delete ~/.aerospace.toml or the ~/.config/aerospace folder, whichever you used.

  4. 4

    Clean up permissions and login items

    Remove AeroSpace from System Settings → Privacy & Security → Accessibility. If you set start-at-login in its config, check General → Login Items too.

  5. 5

    Undo Mission Control tweaks

    If you followed its tips, turn "Displays have separate Spaces" and "Group windows by application" back to how you had them in Desktop & Dock settings.

Where AeroSpace fits, and where it doesn't

AeroSpace is hard to beat if you came from i3 or sway, think in numbered workspaces and like a config file you can keep in git. It is free, fast and doesn't touch SIP.

It is less comfortable if you'd rather not maintain a config file, if you want macOS Spaces to keep working as they do, or if you dislike windows getting narrower each time you open one. Tree tiling fits everything on one screen, so the fifth window on a laptop is very small. LanesMac takes a different approach: each window is a full-height column on a strip that runs past the screen edge, so a new window opens beside you and nothing shrinks, with a settings window instead of a config file.

Questions

Is AeroSpace free?

Yes. AeroSpace is free and open source under the MIT license.

Does AeroSpace need SIP disabled?

No. Its README says it doesn't require disabling System Integrity Protection.

What macOS does AeroSpace need?

Its README lists macOS 13 Ventura or later for the released app.

Where is the AeroSpace config file?

AeroSpace reads ~/.aerospace.toml first, then ~/.config/aerospace/aerospace.toml. If there is no file, it uses its default config.

How do I uninstall AeroSpace?

Quit it first so hidden windows come back on screen, run brew uninstall --cask aerospace, delete ~/.aerospace.toml, and remove it from Accessibility in System Settings.

Is AeroSpace stable?

Its README calls it a public beta: fine for daily use, but expect breaking changes until version 1.0.

Try it with your own windows

LanesMac is free for 7 days, with every feature. After that it's a one-time purchase, no subscription. Works on macOS 13 Ventura or later, on Apple silicon and Intel Macs.