# chrome-cli を Homebrew, MacPorts でインストール

chrome-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

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

  証拠: local Homebrew formula metadata

- MacPorts (94%):

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

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

## パッケージ情報

- **パッケージキー:** brew:chrome-cli
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.11.0
- **ソース概要:** Control Google Chrome from the command-line
- **ホームページ:** <https://github.com/prasmussen/chrome-cli>
- **リポジトリ:** <https://github.com/prasmussen/chrome-cli>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- arc-cli (エイリアス)
- brave-cli (エイリアス)
- chrome-canary-cli (エイリアス)
- chrome-cli (エイリアス)
- chromium-cli (エイリアス)
- edge-cli (エイリアス)
- vivaldi-cli (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.11.0
## プロジェクトの歴史と使われ方

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

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- 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


## Combined YAML source

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