macOS
brew install chrome-clilocal Homebrew formula metadata
sudo port install chrome-cliMacPorts ports tree · www/chrome-cli/Portfile · 来源: api.github.com
安装
brew install chrome-clilocal Homebrew formula metadata
sudo port install chrome-cliMacPorts ports tree · www/chrome-cli/Portfile · 来源: api.github.com
概览
Control Google Chrome from the command-line
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
arc-cli | cli | 全局可执行文件 | |
brave-cli | cli | 全局可执行文件 | |
chrome-canary-cli | cli | 全局可执行文件 | |
chrome-cli | cli | 全局可执行文件 | |
chromium-cli | cli | 全局可执行文件 | |
edge-cli | cli | 全局可执行文件 | |
vivaldi-cli | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/prasmussen/chrome-cli
安装元数据
| 软件包键 | brew:chrome-cli |
|---|---|
| 版本 | 1.11.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/chrome-cli |
| 主页 | https://github.com/prasmussen/chrome-cli |
| 仓库 | https://github.com/prasmussen/chrome-cli |
| 上游文档 | https://github.com/prasmussen/chrome-cli#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/prasmussen/chrome-cli/archive/refs/tags/1.11.0.tar.gz |
| Bottle | 可用 (于 arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | chrome-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
chrome-cli
sudo port install chrome-cli来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.