Install Rectangle on Mac with Homebrew

Snap windows to halves and corners with shortcuts, free and open source. It's our pick among window managers for Mac.

How to install Rectangle

$ brew install --cask rectangle

Paste it into Terminal. Don’t have Homebrew yet? Install it first:

$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Official site: rectangleapp.com

Set up the rest of your Mac too

Add Rectangle to a Dock of the apps most people install on a new Mac, then copy one command that installs all of them.

Add Rectangle to my Dock

Alternatives to Rectangle

  • AeroSpace

    Homebrew

    An i3-style tiling window manager that needs no SIP changes, the current favourite for keyboard people.

    brew install --cask nikitabobko/tap/aerospace
  • Yabai

    Homebrew

    The original tiling window manager for macOS, scriptable from the shell.

    brew install koekeishiya/formulae/yabai

Comparisons

More guides