macOS
brew install cliproxyapilocal Homebrew formula metadata
安装
brew install cliproxyapilocal Homebrew formula metadata
scoop install main/cliproxyapiScoop official bucket manifest trees · bucket/cliproxyapi.json · 来源: api.github.com
概览
Wrap Gemini CLI, Codex, Claude Code, Qwen Code as an API service
历史
CLI Proxy API is a Go proxy server that exposes OpenAI-, Gemini-, Claude-, Codex-, and Grok-compatible API interfaces backed by local or multi-account CLI authentication flows.
The GitHub repository was created on 2025-07-01. The official README describes the project as a proxy server for CLI models, including support for OpenAI Codex and Claude Code via OAuth, streaming and non-streaming responses, function calling, multimodal input, and reusable Go SDK docs.
The project's docs moved beyond a single README into a help.router-for.me documentation site and a repository docs tree covering SDK usage, advanced executors and translators, access, watchers, and custom-provider examples.
CLIProxyAPI had very strong package and GitHub adoption signals for a young project: GitHub repository metadata showed tens of thousands of stars and thousands of forks, while the Homebrew formula API reported tens of thousands of on-request installs over the preceding year and several hundred `--HEAD` installs.
The README lists many projects based on or inspired by CLIProxyAPI, including vibeproxy, CPA management dashboards, quota inspectors, desktop wrappers, VS Code integrations, and sidecar patterns for coding agents.
Users run the proxy locally, authenticate CLI-backed providers through OAuth or API-key style flows, and point OpenAI-, Gemini-, Claude-, or Codex-compatible clients and SDKs at the local service. The README emphasizes multi-account load balancing, provider translation, management APIs, and integration with AI coding tools.
CLIProxyAPI is package-nerd significant because it packages a fast-moving 2025-2026 AI tooling pattern: turning subscription-backed CLI tools into local API-compatible endpoints. Its Homebrew formula, Scoop listing, management-center ecosystem, and numerous downstream wrappers show how package managers became the distribution layer for local AI proxy infrastructure.
安全态势
formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$(brew --prefix)/etc/cliproxyapi.conf/opt/homebrew/etc/cliproxyapi.conf/usr/local/etc/cliproxyapi.confconfig.yaml~/.cli-proxy-api/config.yamlCredential-bearing paths to review before unattended agent runs.
~/.cli-proxy-api可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cliproxyapi | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/router-for-me/CLIProxyAPI
安装元数据
| 软件包键 | brew:cliproxyapi |
|---|---|
| 版本 | 7.2.95 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cliproxyapi |
| 主页 | https://github.com/router-for-me/CLIProxyAPI |
| 仓库 | https://github.com/router-for-me/CLIProxyAPI |
| 上游文档 | https://github.com/router-for-me/CLIProxyAPI/tree/main/docs |
| 许可证 | MIT |
| 源码归档 | https://github.com/router-for-me/CLIProxyAPI/archive/refs/tags/v7.2.95.tar.gz |
| 最后更新 | 2026-07-22T17:48:45Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cliproxyapi |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
main/cliproxyapi
scoop install main/cliproxyapi来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.