A MacOS window manager that arranges windows on an infinite horizontal strip so opening new windows never resizes existing ones.
- Stars
- 29,745
- Forks
- 791
- Open issues
- 267
- Last commit
- 4 months ago
What is it?
yabai is a window management utility for macOS that extends the built-in window manager. Its main function is tiling: it automatically arranges windows using a binary space partitioning algorithm so you can focus on content rather than manually positioning windows.
You control windows, spaces and displays through a command line interface. Keyboard shortcuts can be bound with skhd or other third-party tools. Additional features include focus-follows-mouse, disabling animations when switching spaces, and creating spaces beyond the default limit of 16.
It supports Intel and Apple Silicon Macs running macOS Big Sur through Tahoe, and requires Accessibility permission. Some features, such as window animations, need Screen Recording permission, and advanced window control requires partially disabling System Integrity Protection to load a scripting addition into Dock.app.
Key features
- 01Automatic tiling layout based on binary space partitioning
- 02Command line control of windows, spaces and displays
- 03Keyboard shortcut integration via skhd
- 04Focus-follows-mouse and disabling of space-switch animations
- 05Creating spaces beyond the default limit of 16
Use cases
- Keeping multiple windows arranged without manual resizing on a Mac
- Driving window layout from keyboard shortcuts and scripts
- Scripting window and space management in a dotfiles setup
Topics
FAQ
- What is yabai?
- A tiling window manager for macOS that arranges windows automatically using binary space partitioning, controlled from the command line. yabai is a window management utility for macOS that extends the built-in window manager. Its main function is tiling: it automatically arranges windows using a binary space partitioning algorithm so you can focus on content rather than manually positioning windows.
- Is yabai free to use? What license does it have?
- yabai is open source under the MIT license. Check the license terms before using it in commercial products.
- Is yabai still maintained?
- Updated within 6 months. The last commit to yabai was on Jun 14, 2026.
- What can I use yabai for?
- Keeping multiple windows arranged without manual resizing on a Mac Driving window layout from keyboard shortcuts and scripts Scripting window and space management in a dotfiles setup
- Where can I get yabai?
- The source code and installation instructions are on GitHub: https://github.com/asmvik/yabai
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Free, open-source macOS menu bar toolkit bundling per-app volume, system monitoring, window switching, clipboard history and more.
An open source macOS menu bar manager that hides unused icons and lets you find any menu bar item from the keyboard.
A tiny, fully native macOS launcher with a global hotkey, app search, clipboard history, snippets and Raycast extension support.
A macOS menu bar app that captures text from any area of the screen via OCR and copies it straight to the clipboard.
A tiled, scrollable window manager for macOS, built as a Spoon plugin for the Hammerspoon automation app.