# Install cliproxyapi with Homebrew, scoop

Wrap Gemini CLI, Codex, Claude Code, Qwen Code as an API service. Version 7.2.115 via Homebrew; verified 2026-08-02. Also installable with scoop: scoop install main/cliproxyapi.

## 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
- **Version:** 7.2.115
- **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>
- **Last updated:** 2026-08-02T23:33:57Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- cliproxyapi (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 7.2.115
## 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
## 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


## Combined YAML source

View the package source record on GitHub. [combined/cliproxyapi.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cliproxyapi.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
