# Install chrome-cli with Homebrew, MacPorts

Control Google Chrome from the command-line. Version 1.11.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:chrome-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install chrome-cli
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install chrome-cli
```

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

## Package facts

- **Package key:** brew:chrome-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/chrome-cli>
- **Version:** 1.11.0
- **Source summary:** Control Google Chrome from the command-line
- **Homepage:** <https://github.com/prasmussen/chrome-cli>
- **Repository:** <https://github.com/prasmussen/chrome-cli>
- **Upstream docs:** <https://github.com/prasmussen/chrome-cli#readme>
- **License:** MIT
- **Source archive:** <https://github.com/prasmussen/chrome-cli/archive/refs/tags/1.11.0.tar.gz>
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- arc-cli (cli)
- brave-cli (cli)
- chrome-canary-cli (cli)
- chrome-cli (cli)
- chromium-cli (cli)
- edge-cli (cli)
- vivaldi-cli (cli)
- arc-cli (alias)
- brave-cli (alias)
- chrome-canary-cli (alias)
- chrome-cli (alias)
- chromium-cli (alias)
- edge-cli (alias)
- vivaldi-cli (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura

## Freshness

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

chrome-cli is a macOS command-line utility for controlling Google Chrome-compatible browsers through Apple's Scripting Bridge.

### Project history

The GitHub repository was created in February 2014. The README describes chrome-cli as a native OS X/macOS binary for controlling Chrome-compatible browsers from the command line.

The early 1.1.0 tag dates to February 2014, with later releases continuing through 1.11.0 in September 2025.

### Adoption history

Homebrew packages chrome-cli and installs companion wrapper commands for Chrome Canary, Chromium, Brave, Vivaldi, Edge, and Arc. The supplied package-manager facts also list MacPorts.

Homebrew's formula API reports stable version 1.11.0 and ongoing installs, while the README documents Homebrew as the installation path.

### How it is used

The tool lists windows, tabs, and links; opens URLs; activates, closes, reloads, resizes, and positions browser windows; prints tab information or source; executes JavaScript; and can emit JSON output with `OUTPUT_FORMAT=json`.

For JavaScript execution and source viewing, the README documents the Chrome setting needed for JavaScript from Apple Events. Browser selection can be changed with the `CHROME_BUNDLE_IDENTIFIER` environment variable or the installed wrapper scripts.

### Why package nerds care

chrome-cli is significant as a small macOS automation package that exposes Apple Events/Scripting Bridge browser control as ordinary shell commands. It is especially useful in scripts, launchers, tests, and tab-management workflows where a full browser automation framework would be excessive.

### Timeline

- 2014: Repository created and early 1.1.0 tag appears.
- 2018: 1.6.0 release line reached.
- 2021: 1.7.x releases published.
- 2022: 1.8.0 release published.
- 2023: 1.9.x releases published.
- 2024: 1.10.0 release published.
- 2025: 1.11.0 release published; Homebrew stable version reports 1.11.0.

### Related projects

- Related browser targets include Chrome, Chrome Canary, Chromium, Brave, Vivaldi, Edge, and Arc. The README also points to Chromium's AppleScript documentation for enabling JavaScript execution through Apple Events.

### Sources

- <https://github.com/prasmussen/chrome-cli#readme>
- <https://github.com/prasmussen/chrome-cli/releases>
- <https://formulae.brew.sh/api/formula/chrome-cli.json>


## 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:** chrome-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** macos, xcode
- **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 - chrome-cli: normalized package name match | MacPorts ports tree: www/chrome-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [agent-browser](https://www.automicvault.com/pkg/brew/agent-browser/) - Shares av.db curated category or tags: browser-automation, cli, developer-tools.
- [chrome-devtools-mcp](https://www.automicvault.com/pkg/brew/chrome-devtools-mcp/) - Shares av.db curated category or tags: browser-automation, cli, developer-tools.
- [geckodriver](https://www.automicvault.com/pkg/brew/geckodriver/) - Shares av.db curated category or tags: browser-automation, cli, developer-tools.
- [playwright-cli](https://www.automicvault.com/pkg/brew/playwright-cli/) - Shares av.db curated category or tags: browser-automation, cli, developer-tools.
- [playwright-mcp](https://www.automicvault.com/pkg/brew/playwright-mcp/) - Shares av.db curated category or tags: browser-automation, cli, developer-tools.
- [selenium-server](https://www.automicvault.com/pkg/brew/selenium-server/) - Shares av.db curated category or tags: browser-automation, cli, developer-tools.
- [slimerjs](https://www.automicvault.com/pkg/brew/slimerjs/) - Shares av.db curated category or tags: browser-automation, cli, developer-tools.
- [brew-php-switcher](https://www.automicvault.com/pkg/brew/brew-php-switcher/) - Shares av.db curated category or tags: cli, developer-tools, macos.
- [chrome-launcher](https://www.automicvault.com/pkg/npm/chrome-launcher/) - Local package facts share a topical domain. Shared terms: automation, browser, browser-automation, chrome, cli.
- [chrome-remote-interface](https://www.automicvault.com/pkg/npm/chrome-remote-interface/) - Local package facts share a topical domain. Shared terms: automation, browser, browser-automation, chrome, cli.

## Combined YAML source

View the package source record on GitHub. [combined/chrome-cli.yml](https://github.com/automic-vault/db/blob/main/combined/chrome-cli.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
