Butterfly vs yabai: scrolling or tiling on a Mac

By Paweł Nowak, maker of Butterfly · Updated

yabai is a free, open source window management utility that tiles windows with binary space partitioning and is controlled from the command line, with shortcuts set up in a separate tool such as skhd. Many of its advanced features need System Integrity Protection partly turned off. Butterfly is a paid app that puts windows side by side on a strip that scrolls, works right after install and is driven by trackpad, mouse or keyboard. Pick yabai for tiling you script; pick Butterfly as a yabai alternative when you want windows that keep their size with no config and no SIP changes.

Two different ideas

Butterfly is made by us, so read this with that in mind. Facts about yabai come from its GitHub page and wiki, checked on 20 November 2026.

yabai tiles windows. It arranges them with binary space partitioning: each new window takes part of the space of another one, so nothing overlaps and windows get smaller as you open more.

Butterfly scrolls. Windows sit next to each other on a strip that can be wider than the screen, so opening one more window doesn't shrink the others. You scroll the strip to reach a window.

Side by side

Price
yabai is free and open source (MIT license). Butterfly is free for 7 days, then one payment from $7.99 ($4.99 until 30 November 2026).
Install
yabai installs with Homebrew from its own tap. Butterfly is a download, signed and notarized by Apple.
Macs
yabai runs on macOS 11 and later on Intel, and macOS 12 and later on Apple silicon. Butterfly needs macOS 14 or later, on Apple silicon or Intel.
System settings
yabai needs Accessibility, “Displays have separate Spaces” turned on, and Screen Recording if you turn on window animations. Butterfly needs Accessibility only; it asks for Screen Recording only for the optional “Butterfly” motion style.
SIP
yabai runs with System Integrity Protection on, but its quickstart says partially disabling SIP is required for many advanced features, because yabai then injects a scripting addition into Dock.app. Butterfly never needs SIP changed.
Setup
yabai is set up in a config file and controlled from the command line. Butterfly has a settings window and no config file.
Control
yabai's keyboard shortcuts are set up in skhd, a companion tool by the same author, or another hotkey app; it can also make focus follow the mouse. Butterfly works with trackpad gestures, the mouse wheel and the keyboard, and has no CLI.
Workspaces
yabai works with macOS Spaces. Butterfly has up to nine workspaces of its own, ⌃⌥⌘ 1–9, and an Overview of the whole strip.

When yabai is the better pick

  • You want tiling that splits the screen for you, and to script every part of it from the command line.
  • You want your whole setup in text files you can keep in your dotfiles.
  • You run macOS 11, 12 or 13, which Butterfly doesn't support.
  • You want it free and open source.

When Butterfly is the better pick

  • You don't want windows to shrink every time you open one more.
  • You'd rather not write a config file or set up a separate hotkey tool.
  • You don't want to turn off any part of System Integrity Protection.
  • You use a trackpad or a mouse as much as the keyboard.

Butterfly's shortcuts can be changed in Settings › Shortcuts, but there is no CLI or config file, so if scripting matters most, yabai is the better fit today. For another tiling option see Butterfly vs AeroSpace, and for other scrolling options the comparison page.

Can I use both?

Not at the same time: both arrange every window, so they would fight over the same windows. Quit yabai while you try Butterfly. Quitting Butterfly puts every window back where it was before.

Try Butterfly free for 7 days, no card needed: download it here.

Common questions

Is Butterfly a yabai alternative?
Yes, if you want windows to keep their size and no setup. yabai splits the screen between windows; Butterfly puts them on a strip that scrolls.
Does yabai need System Integrity Protection disabled?
Not to run. Partially disabling SIP is optional, but yabai's quickstart says it is required for many advanced features. Butterfly never needs SIP changed.
Does yabai scroll like niri or PaperWM?
No. yabai tiles with binary space partitioning, so windows split the screen and none of them scrolls past its edge. For scrolling on a Mac, look at Butterfly, OmniWM, PaperWM.spoon, SlideScroll or Ribbon.
Is yabai free?
Yes. yabai is free and open source under the MIT license, and installs with Homebrew.