# Install cliproxyapi with Homebrew, scoop

Wrap Gemini CLI, Codex, Claude Code, Qwen Code as an API service. Version 7.2.50 via Homebrew; verified 2026-07-03.

## Install

```sh
sudo av install brew:cliproxyapi
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cliproxyapi
```

  Evidence: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install main/cliproxyapi
```

  Evidence: Scoop official bucket manifest trees: bucket/cliproxyapi.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:cliproxyapi
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cliproxyapi>
- **Version:** 7.2.50
- **Source summary:** Wrap Gemini CLI, Codex, Claude Code, Qwen Code as an API service
- **Homepage:** <https://github.com/router-for-me/CLIProxyAPI>
- **Repository:** <https://github.com/router-for-me/CLIProxyAPI>
- **Upstream docs:** <https://github.com/router-for-me/CLIProxyAPI/tree/main/docs>
- **License:** MIT
- **Source archive:** <https://github.com/router-for-me/CLIProxyAPI/archive/refs/tags/v7.2.50.tar.gz>
- **Last updated:** 2026-07-03T17:51:31Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- cliproxyapi (cli)
- cliproxyapi (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 7.2.50
- Package-manager updated: 2026-07-03
- Local data: ok
- Upstream repository: https://github.com/router-for-me/CLIProxyAPI
- Upstream latest detected: v7.2.50 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 2025-07-01: GitHub repository is created.
- 2025-2026: README documents OAuth support for Codex, Claude Code, Gemini, and other CLI-backed providers.
- 2026: Homebrew formula tracks stable release 7.2.45 from the official GitHub tag archive.
- 2026: README lists many downstream projects based on or inspired by CLIProxyAPI.

### Related projects

- The official README lists based-on projects such as vibeproxy, CCS, Quotio, ProxyPilot, Claude Proxy VSCode, CPA-Manager-Plus, CLIProxyAPI Dashboard, ProxyPal, Panopticon, Tunnel Agent, and Universal Chat Provider.
- The README also lists inspired or port projects such as 9Router, OmniRoute, PPAP, and Codex Switch.

### Sources

- <https://github.com/router-for-me/CLIProxyAPI#readme>
- <https://github.com/router-for-me/CLIProxyAPI/tree/main/docs>
- <https://help.router-for.me/>
- <https://formulae.brew.sh/api/formula/cliproxyapi.json>
- <https://github.com/router-for-me/CLIProxyAPI>


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service


## Configuration and credential file locations

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.


## Configuration files

- macOS: $(brew --prefix)/etc/cliproxyapi.conf, /opt/homebrew/etc/cliproxyapi.conf, /usr/local/etc/cliproxyapi.conf
- Unix: config.yaml, ~/.cli-proxy-api/config.yaml

## Credential files

- Unix: ~/.cli-proxy-api
## Source Database Details

- **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:** head, stable

## Other Package-Manager Records

- Scoop - main/cliproxyapi: normalized package name match | Scoop official bucket manifest trees: bucket/cliproxyapi.json from https://api.github.com/repos/ScoopInstaller/Main/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.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [ain](https://www.automicvault.com/pkg/brew/ain/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [algolia](https://www.automicvault.com/pkg/brew/algolia/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [curlie](https://www.automicvault.com/pkg/brew/curlie/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [fern-api](https://www.automicvault.com/pkg/brew/fern-api/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [graphql-inspector](https://www.automicvault.com/pkg/brew/graphql-inspector/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [graphqlviz](https://www.automicvault.com/pkg/brew/graphqlviz/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [graphqurl](https://www.automicvault.com/pkg/brew/graphqurl/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [graphqxl](https://www.automicvault.com/pkg/brew/graphqxl/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [codex-acp](https://www.automicvault.com/pkg/brew/codex-acp/) - Local package facts share a topical domain. Shared terms: as, cli, codex, compatible, developer.
- [shimmy](https://www.automicvault.com/pkg/brew/shimmy/) - Local package facts share a topical domain. Shared terms: cli, compatible, developer, developer-tools, openai.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
