# 使用 Homebrew, MacPorts 安装 cliclick

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

## 安装

```sh
sudo av install brew:cliclick
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cliclick
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cliclick
```

  证据: MacPorts ports tree: sysutils/cliclick/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:cliclick
- **软件包管理器:** Homebrew
- **版本:** 5.1
- **来源摘要:** Tool for emulating mouse and keyboard events
- **主页:** <https://www.bluem.net/jump/cliclick/>
- **仓库:** <https://github.com/BlueM/cliclick>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cliclick (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 5.1
## 项目历史与用法

cliclick is a small macOS command-line automation utility for driving mouse and keyboard events from Terminal. Its official README expands the name as Command Line Interface Click, says it is written in Objective-C, and documents commands for clicking, moving, dragging, waiting, printing mouse position, and sending key events.

### 项目历史

The upstream GitHub repository was created in 2013 and is maintained by Carsten Bluem under the BlueM account. The project has stayed deliberately focused on macOS GUI event automation rather than becoming a general cross-platform automation framework.

### 采用历史

The official README strongly recommends installing with Homebrew and also notes MacPorts availability. The batch input independently lists both Homebrew and MacPorts package-manager entries, which is the main distribution signal for this niche macOS CLI.

### 使用方式

Typical use is shell-driven UI automation: click a coordinate, move relative to the current mouse position, drag, wait between events, print coordinates, or send key presses. The README also notes that Terminal or the invoking app must have macOS Accessibility permission or the tool may appear to do nothing.

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

cliclick matters to package-manager users because it fills a narrow but durable gap: scriptable GUI input on macOS without AppleScript ceremony or a larger automation runtime. Its appeal is strongest in test scripts, window-manager glue, demos, and local automation where a packaged single binary is easier to depend on than a GUI automation stack.

### 时间线

- 2013: BlueM/cliclick GitHub repository created.
- 2025: Version 5.1 is the latest tag visible from the official repository tag list.
- 2026: The batch input lists Homebrew and MacPorts distribution.

### Related projects

- cliclick sits near macOS automation tools such as AppleScript, Automator, Shortcuts, and lower-level event injectors, but its official scope is a command-line tool for mouse and keyboard actions.

### 来源

- <https://github.com/BlueM/cliclick#readme>
- <https://www.bluem.net/jump/cliclick>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- MacPorts - cliclick: normalized package name match | MacPorts ports tree: sysutils/cliclick/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
