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
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
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
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
Reload after edits
Press Option-Shift-; to enter service mode, then Esc to reload the config.
The default keys
| Action | Default key |
|---|---|
| Focus left, down, up, right | Option-H, J, K, L |
| Move the window left, down, up, right | Option-Shift-H, J, K, L |
| Switch to workspace 1 to 9 | Option-1 to 9 |
| Send the window to workspace 1 to 9 | Option-Shift-1 to 9 |
| Tiles layout, horizontal or vertical | Option-/ |
| Accordion layout | Option-, |
| Resize smaller or larger | Option-- and Option-= |
| Back to the previous workspace | Option-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
Quit AeroSpace
Click its menu bar icon and quit. AeroSpace moves the windows of hidden workspaces back on screen when it quits.
- 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
Delete the config
Delete ~/.aerospace.toml or the ~/.config/aerospace folder, whichever you used.
- 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
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.
