yabai Programmable macOS tiling window manager with rules, event signals and optional advanced integration.
Overview yabai is an MIT-licensed macOS tiling window manager controlled through a command-line interface. Its central workflow automatically arranges windows using binary space partitioning, rather than requiring every placement to be chosen by dragging. It extends the system window manager and can be paired with a separate shortcut utility for keyboard control.[1] [2]
Contents Layouts and rules The command manual documents binary-partition, stack and floating layouts. Rules can match applications or window titles and decide how windows are managed, including leaving selected windows floating. Event signals can invoke actions after events such as an application launching. This supplies a programmable arrangement model for users comfortable maintaining configuration, rather than a gallery of interchangeable visual presets shared with other window utilities.[3]
Permissions and optional integration Accessibility permission is required. Screen Recording permission is required specifically for window animations, according to the project. An optional scripting addition unlocks further window-server functions but requires partially disabling System Integrity Protection. That security tradeoff is not a requirement for describing or evaluating basic tiling, and this article does not recommend weakening protection. Features dependent on the addition should not be represented as available in every standard configuration.[2] [3]
System and application constraints The README lists supported macOS releases beginning with Big Sur on Intel and Monterey on Apple Silicon, along with required Spaces-related configuration. It also warns about native tabbed windows in applications such as Terminal and Finder. These caveats make the operating-system version and target application's window model part of a deployment assessment. A command-line interface does not remove restrictions imposed by macOS or by the application being arranged.[2]
Substitution scope yabai can substitute for Rectangle when the underlying need is keyboard-driven window arrangement and automatic tiling is acceptable or preferred. It is a different interaction model, with configuration, rules and optional external hotkey software replacing a conventional snapping interface. Existing Rectangle JSON settings are not established as portable to yabai. Its MIT licensing permits adaptation, but does not guarantee every documented capability works without extra permissions or optional system integration.[1] [2] [3] [4]
References yabai MIT license MIT license grant
vendor · retrieved 2026-10-07 yabai project README Tiling, requirements, optional scripting addition and caveats
vendor · retrieved 2026-10-07 yabai command manual Configuration, layouts, rules, signals and scripting addition
vendor · retrieved 2026-10-07 Rectangle README Requirements, snapping, Spaces limits and configuration export
vendor · retrieved 2026-10-07 Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.