# Install cliclick with Homebrew, MacPorts

Tool for emulating mouse and keyboard events. Version 5.1 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cliclick
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cliclick
```

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

## Package facts

- **Package key:** brew:cliclick
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cliclick>
- **Version:** 5.1
- **Source summary:** Tool for emulating mouse and keyboard events
- **Homepage:** <https://www.bluem.net/jump/cliclick/>
- **Repository:** <https://github.com/BlueM/cliclick>
- **Upstream docs:** <https://github.com/BlueM/cliclick#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/BlueM/cliclick/archive/refs/tags/5.1.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- cliclick (cli)
- cliclick (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 5.1
- Local data: ok
- Upstream repository: https://github.com/BlueM/cliclick
- Upstream latest detected: 5.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cliclick
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** macos
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- 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


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://www.automicvault.com/pkg/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [xdotool](https://www.automicvault.com/pkg/brew/xdotool/) - Shares av.db curated category or tags: automation, cli, keyboard, system.
- [rex](https://www.automicvault.com/pkg/brew/rex/) - Shares av.db curated category or tags: automation, cli, system.
- [sleepwatcher](https://www.automicvault.com/pkg/brew/sleepwatcher/) - Shares av.db curated category or tags: automation, cli, macos, system.
- [lume](https://www.automicvault.com/pkg/brew/lume/) - Shares av.db curated category or tags: automation, cli, macos, system.
- [m-cli](https://www.automicvault.com/pkg/brew/m-cli/) - Shares av.db curated category or tags: automation, cli, macos, system.
- [asitop](https://www.automicvault.com/pkg/brew/asitop/) - Shares av.db curated category or tags: cli, macos, system.
- [backupninja](https://www.automicvault.com/pkg/brew/backupninja/) - Shares av.db curated category or tags: automation, cli, system.
- [bluetoothconnector](https://www.automicvault.com/pkg/brew/bluetoothconnector/) - Shares av.db curated category or tags: cli, macos, system.

## Combined YAML source

View the package source record on GitHub. [combined/cliclick.yml](https://github.com/automic-vault/db/blob/main/combined/cliclick.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
