Rectangle
Ryan Hanson and contributors · Free, open-source Mac window manager for moving, resizing and tiling windows with customizable keyboard shortcuts and screen-edge snap areas.
- 近 30 天安裝
- 10,099
- App榜第 35
- 近一年安裝
- 11.6萬
- 365 天累計
- 最新版本
- 2.0.4
- 3 天前 · 10月20日
- 下載大小
- 5.0MB
- arm64 / x86_64 · dmg
- 更新節奏
- 每月
- 近 30 天 5 個版本
Rectangle 是一款系統工具類 Mac 應用。開發者是 Ryan Hanson and contributors。
基本資訊
- 晶片
- Apple 晶片 · Intel
- 系統版本
- macOS 14 起
- 價格
- 免費 · 價格詳情
- 開發者
- Ryan Hanson and contributors
- 安裝命令
brew install --cask rectangle- Homebrew
- 可以安裝,應用會自行更新
- 其他名稱
- rectangle
以上資訊最早核查於 。檢視各項來源
介紹
Rectangle is Ryan Hanson's free, open-source window management application for macOS, based on Spectacle. It helps keyboard users and people working across multiple windows or displays arrange their desktop without repeatedly resizing windows by hand.
Features
- Move windows to halves, quarters, thirds and other supported positions.
- Maximize, center, resize or restore a window through keyboard shortcuts or menu actions.
- Snap windows by dragging them to configurable screen edges and corners.
- Move windows between displays and tile ordinary windows in rows or columns.
- Cycle through stacked windows occupying the same area.
- Customize shortcuts, ignore individual apps and import or export JSON settings.
Installation and first use
Install brew install --cask rectangle, or download the official DMG and move Rectangle.app to Applications. Launch the app and enable its requested Accessibility access in System Settings > Privacy & Security > Accessibility so it can control other applications' windows. Choose your shortcut settings and try a menu action before assigning keys that overlap with another application. Drag a window to a screen edge and release it when the preview shows the desired target, or disable snapping if you only want keyboard control.
Requirements, dependencies and limitations
Rectangle2.0.3 requires macOS14 or newer and supports Intel and Apple Silicon Macs. The tagged official README and current Homebrew cask agree on macOS14+. The project identifies v1.100 for macOS10.15–13 and v0.73 for10.13–10.14; those older versions are separate from this current cask. The Homebrew package declares no extra formula dependency. Accessibility permission is an operational requirement, not an extra Homebrew formula. No fixed RAM or storage minimum is published in the retrieved requirements; installed space differs from DMG download size.
Rectangle cannot override an application's minimum window dimensions. Small layouts can therefore leave gaps or overlaps, and terminal programs such as iTerm2 can resize in whole character cells. Actions normally apply to the selected display and current Space. The free application does not provide moving windows between desktops/Spaces; do not confuse that with moving between displays. Combined-display tiling requires the appropriate Rectangle setting and macOS Displays have separate Spaces disabled. Window animation is experimental and off by default; it can behave differently in applications with size restrictions.
Conflicts and troubleshooting
Homebrew declares no named cask conflict, but another running window manager or overlapping keyboard shortcut can interfere. Test the menu action, change the shortcut or temporarily stop the other window manager to isolate the cause. Use Ignore app when you want an application's own shortcut to take precedence. After system changes, confirm Accessibility access is still enabled; the project's FAQ describes resetting and granting permission again if necessary. A manually installed Rectangle.app can occupy the same Applications path. Optional Homebrew zap cleanup removes preferences and application data, so export settings you want to preserve first.
Platforms, accounts, costs and license
Rectangle is macOS-only; there are no official Windows, Linux, Android or iOS builds of this application. The free version requires no user account or paid subscription and is released under the MIT license. Optional donations support development. Rectangle Pro is a separate paid product with additional features and its own terms, not included in this cask. Commercial software whose windows you manage retains its own license and account requirements.
Official references
Rectangle 的價格與購買方式
OpenNavo 按地區、版本和計費週期記錄核查過的價格,並註明來源和日期;不記錄歷史價格,也不判斷是否最低。
| 版本 | 價格 | 地區 | 購買渠道 | 核查日期 |
|---|---|---|---|---|
| — | 免費 | — | 官網rectangleapp.com |
系統要求
| macOS | 應用版本 | 晶片 | 下載 | 來源 |
|---|---|---|---|---|
| macOS 14 起 | 2.0.4 | Intel | github.com/rxhanson/Rectangle/releases/download/v2.0.4/Rectangle2.0.4.dmgSHA-256 9f820a2e56bd2c27cdda4fb4556de3cbcfcbac052d9eeb2179d49e2dae277abc | Homebrew核查於 |
| macOS 14 起 | 2.0.4 | Apple 晶片 | github.com/rxhanson/Rectangle/releases/download/v2.0.4/Rectangle2.0.4.dmgSHA-256 9f820a2e56bd2c27cdda4fb4556de3cbcfcbac052d9eeb2179d49e2dae277abc | Homebrew核查於 |
如何在 Mac 上安裝 Rectangle
- 在「終端機」中執行:
brew install --cask rectangle - Homebrew 會把應用安裝到「應用程式」資料夾。
不用 Homebrew 安裝
直接下載 Homebrew 使用的同一個檔案: github.com/rxhanson/Rectangle/releases/download/v2.0.4/Rectangle2.0.4.dmg
SHA-256 只用來核對下載的檔案是否完整,不代表安全認證。 檢視 SHA-256 和下載網址
解除安裝 Rectangle 與可選的資料清理
brew uninstall --cask rectangle普通解除安裝會刪除應用本身,設定和快取會保留。
解除安裝時還會處理
- 登入項
Rectangle
深度清理(可選)
brew uninstall --zap --cask rectangle--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。
Rectangle 可能留在 Mac 上的檔案(7)
- 檔案和資料夾
~/Library/Application Scripts/com.knollsoft.RectangleLauncher~/Library/Application Support/Rectangle~/Library/Caches/com.knollsoft.Rectangle~/Library/Containers/com.knollsoft.RectangleLauncher~/Library/HTTPStorages/com.knollsoft.Rectangle~/Library/Preferences/com.knollsoft.Rectangle.plist~/Library/WebKit/com.knollsoft.Rectangle
以上條目來自 Homebrew 定義,核查於 ;它們只說明定義宣告會刪除什麼,不代表你的 Mac 上都有。
2.0.4 更新內容
新版本 OpenNavo 編輯
這個版本沒有單獨的更新說明。
Rectangle 的安全事實
這裡只列可以核驗的事實,並註明來源和日期,不是安全認證。要檢查你下載的檔案,可以用 OpenNavo 在本機掃描。
- 分發渠道
- Homebrew
安裝細節
- 來源倉庫
- homebrew/cask
- 下載網址
- https://github.com/rxhanson/Rectangle/releases/download/v2.0.4/Rectangle2.0.4.dmg
- SHA-256
- 9f820a2e56bd2c27cdda4fb4556de3cbcfcbac052d9eeb2179d49e2dae277abc
- Homebrew 定義檔案
- github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/rectangle.rb
- formulae.brew.sh
- formulae.brew.sh/cask/rectangle
- 原始碼
- github.com/rxhanson/Rectangle
安裝與解除安裝內容
解除安裝
uninstall檢視完整宣告
{ "uninstall": [ { "login_item": "Rectangle", "quit": "com.
knollsoft. } ] }Rectangle" 安裝
app來源檔案: Rectangle.
app 宣告的目標位置: /
Applications/ Rectangle. app 檢視完整宣告
{ "app": [ "Rectangle.
app" ], "target": "/Applications/ }Rectangle. app" 清理使用者資料
zap檢視完整宣告
{ "zap": [ { "trash": [ "~/
Library/ Scripts/Application com. "~/knollsoft. RectangleLauncher", Library/ Support/Application Rectangle", "~/Library/ "~/Caches/ com. knollsoft. Rectangle", Library/ "~/Containers/ com. knollsoft. RectangleLauncher", Library/ "~/HTTPStorages/ com. knollsoft. Rectangle", Library/ "~/Preferences/ com. knollsoft. Rectangle. plist", Library/ ] } ] }WebKit/ com. knollsoft. Rectangle"
關於 Rectangle 的常見問題
Rectangle 安全嗎?
Rectangle 收錄在 Homebrew 官方軟體庫中,沒有被停用。自 2026 年 9 月起,Homebrew 會停用沒有通過 macOS Gatekeeper 檢查的應用。安裝時,Homebrew 會用 SHA-256 校驗值核對來自 github.com 的安裝檔。過去 30 天,它透過 Homebrew 安裝了 10,099 次。
Rectangle 免費嗎?
是的,Rectangle 可以免費使用。來源:rectangleapp.com,核查於 10月21日。
如何在 Mac 上徹底解除安裝 Rectangle?
執行 brew uninstall --cask rectangle。它會退出應用、移除 1 個登入項。要連設定和快取一起刪除,執行 brew uninstall --zap --cask rectangle。--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。這會再刪除 7 處檔案和資料夾,包括 ~/。
Rectangle 支援 Apple 晶片(M1 及更新)的 Mac 嗎?
Apple 晶片和 Intel 晶片的 Mac 都能用 Homebrew 安裝,兩者使用同一個安裝檔。需要 macOS 14 或更高版本。
Rectangle 的設定和資料儲存在哪裡?
設定儲存在 ~/。資料儲存在 ~/和~/。這些位置來自 Homebrew 的清理清單。
Rectangle 的最新版本是多少?
最新版本是 2.0.4,Homebrew 收錄於 10月20日。Rectangle 會自動更新;想用 Homebrew 更新時,執行 brew upgrade --cask --greedy rectangle。
來源
頁面上的每項資料都註明來源和核查日期;過期的資料只寫「截至」某日,不再當作當前事實。
- Homebrew 定義:github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/rectangle.rb · 核查於
- formulae.brew.sh:formulae.brew.sh/cask/rectangle
- 價格:rectangleapp.com · 核查於