# 使用 Homebrew Cask 安装 anydrag

查看 anydrag 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install cask:anydrag
```

其他安装命令:

### macOS

- Homebrew Cask (100%):

```sh
brew install --cask anydrag
```

  证据: local Homebrew cask metadata

## 软件包事实

- **软件包键:** cask:anydrag
- **软件包管理器:** Homebrew Cask
- **软件包管理器页面:** <https://formulae.brew.sh/cask/anydrag>
- **版本:** 26.11.122
- **来源摘要:** Move any window by holding a modifier key and dragging anywhere on it
- **主页:** <https://github.com/XueshiQiao/AnyDrag>
- **仓库:** <https://github.com/XueshiQiao/AnyDrag>
- **源码归档:** <https://github.com/XueshiQiao/AnyDrag/releases/download/v26.11.122/AnyDrag.dmg>
- **已生成:** 2026-11-04T12:20:42+00:00

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-11-04
- 管理器版本: 26.11.122
- 本地数据: OK
- 上游仓库: https://github.com/XueshiQiao/AnyDrag
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

AnyDrag is an open-source macOS menu-bar utility that moves, resizes, maximizes, and tiles windows through modifier-plus-mouse gestures.

### 项目历史

Xueshi Qiao developed AnyDrag as a native macOS utility for moving a window by dragging anywhere on it while holding a modifier key. The implementation uses a Core Graphics event tap and redirects the drag into the window's title-bar region so the window server performs the movement.

The application evolved from focused modifier dragging into a compact window-management tool with double-click maximize, a tiling panel, optional corner-based resizing, multi-monitor controls, per-application tuning, and localized settings.

### 采用历史

AnyDrag is distributed as a signed and notarized macOS application through GitHub releases and Homebrew Cask. It requires Accessibility permission to intercept the configured modifier gesture and initiate window movement.

The project broadened its focused drag gesture with maximizing, resizing, tiling, multi-display movement, application exclusions, and configurable modifier combinations while retaining a native menu-bar interface.

### 使用方式

By default, users hold Option and drag anywhere in a window to move it. Modifier-double-click maximizes or restores a window, while modifier-right-click opens the tiling panel.

Settings are managed through the native graphical interface; the official documentation explicitly says there are no configuration files to edit manually.

### 为什么软件包爱好者会关心

AnyDrag occupies the small but enduring macOS power-user niche of modifier-driven window movement. Its distinguishing technical choice is to rewrite pointer coordinates so macOS performs a native title-bar drag, avoiding per-frame Accessibility API window movement.

It is also a reproducibly installable, open-source alternative to broader proprietary automation suites when the desired workflow is specifically fast window dragging, resizing, and tiling.

### 时间线

- AnyDrag began as a focused modifier-drag utility for native-feeling macOS window movement.
- The project later added resizing, a tiling panel, multi-display controls, modifier combinations, and application-specific tuning.

### Related projects

- The official README contrasts AnyDrag with BetterTouchTool's modifier-drag behavior, explaining that AnyDrag uses a window-server-level native drag path. It also documents optional cooperation with the developer's HyperCapslock app.

### 来源

- <https://github.com/XueshiQiao/AnyDrag>
- <https://xueshi.dev/anydrag>


## 安全说明

没有找到 anydrag 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew cask API
- **Tap:** homebrew/cask
- **Full Token:** anydrag
- **Names:** AnyDrag
- **Depends On:** Macos: >=: 13
- **Artifacts:** App: 1, Target: 1, Zap: 1
- **Auto Updates:** yes
- **Deprecated:** no
- **Disabled:** no


## 相关链接

- [Homebrew Cask packages](https://pkg.so/zh-hans/homebrew-cask-packages/) - Generated from Homebrew Cask package-manager metadata.
- [Homebrew Cask applications](https://pkg.so/zh-hans/homebrew-cask-applications/) - Cask artifact metadata includes an app bundle.
- [bettertouchtool](https://pkg.so/zh-hans/cask/bettertouchtool/) - Choose BetterTouchTool when modifier-drag window movement must be part of a broader gesture, input-remapping, scripting, and automation system; choose AnyDrag for a focused native-drag implementation.

  来源: <https://github.com/XueshiQiao/AnyDrag> · <https://folivora.ai/> · <https://docs.folivora.ai/>

## Combined YAML source

View the package source record on GitHub. [combined/anydrag.yml](https://github.com/mxcl/pkgdb/blob/main/combined/anydrag.yml)


## 来源

- package-page enrichment
- curated package history
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
