跳转到内容

快速开始

macOS

bash
brew install cliproxyapi
brew services start cliproxyapi

Linux

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

源码编译

  1. 克隆仓库:

    bash
    git clone https://github.com/luispater/CLIProxyAPI.git
    cd CLIProxyAPI
  2. 构建程序:

    Linux, macOS:

    bash
    go build -o cli-proxy-api ./cmd/server

    Windows:

    bash
    go build -o cli-proxy-api.exe ./cmd/server

基于 MIT 协议发布