快速开始
macOS
bash
brew install cliproxyapi
brew services start cliproxyapiLinux
bash
curl -fsSL https://raw.githubusercontent.com/brokechubb/cliproxyapi-installer/refs/heads/master/cliproxyapi-installer | bash感谢 brokechubb 开发的 Linux 安装器!
Windows
你可以在 这里 下载最新版本并直接运行。
或者
你可以在 这里 下载我们的桌面图形程序并直接运行。
Docker
bash
docker run --rm -p 8317:8317 -v /path/to/your/config.yaml:/CLIProxyAPI/config.yaml -v /path/to/your/auth-dir:/root/.cli-proxy-api eceasy/cli-proxy-api:latest源码编译
克隆仓库:
bashgit clone https://github.com/luispater/CLIProxyAPI.git cd CLIProxyAPI构建程序:
Linux, macOS:
bashgo build -o cli-proxy-api ./cmd/serverWindows:
bashgo build -o cli-proxy-api.exe ./cmd/server