Rectangle for macOS

Move and resize windows in macOS using keyboard shortcuts or snap areas

How to install Rectangle

  1. Double-click the downloaded .dmg file to mount it.
  2. Drag and drop Rectangle into the Applications directory and unmount the .dmg.
  3. Open Rectangle from the Applications directory.
  4. Give Rectangle Accessibility permissions in System Preferences/Settings as instructed.
Install Rectangle for Mac using brew:
brew install --cask rectangle

Using keyboard shortcuts in Rectangle

  • Execute a keyboard shortcut to snap a window into size and position.
  • The keyboard shortcuts operate on the frontmost window.
  • ⌘ Command. ⇧ Shift. ⌥ Option. ⌃ Control.
  • Some shortcuts can cycle through different window sizes/positions when repeated.
  • The Spectacle default shortcuts can be selected when the app first runs.

Snap windows by dragging and dropping in Rectangle

  • Drag a window to the screen edge to view a footprint of where the window will be placed.
  • Release the window to snap it into place.
  • Snap areas can be customized, and portrait display layouts are supported.

What makes Rectangle so good

In 2019 I created Rectangle because I wanted to add window snapping capabilities to my trackpad gesture app, Multitouch. I decided to port the wonderful Spectacle app, written in Objective-C into Swift as Rectangle. For me, keeping Rectangle open source is a good way to give back to the community since I have relied on many open source projects over the years.

It's not just about being open source, though. To me, it's about making something that elegantly solves a problem for a lot of people. Simplicity, speed, and low resource usage are key drivers in all of my apps, and I hope this shines through with Rectangle. Making apps that stay slim and don't try to do too much is surprisingly difficult. There's actually quite a bit hidden under the covers of Rectangle, and you can adjust a lot of behavior using Terminal commands, without even touching the code.

If you do find yourself looking to take your window management to the next level beyond Rectangle, give Rectangle Pro a try. It's where all of my more ambitious window management ideas have landed.

Upgrade to Rectangle Pro

Quicker window snapping, custom shortcuts for any size & position, and a lot more!

Download Pro
Free for 10 days, purchase for ...