huo0「CliProxyAPI」配置Gemini Cli + Antigravity反重力的2API【双重快乐】 中发帖

[image] 
官方的文档相对专业化,包括我都不是很容易看懂,记录一下。
安装部分以Linux作为参考,其他环境自查,主要官方配置较难理解。
安装
安装命令
curl -fsSL https://raw.githubusercontent.com/brokechubb/cliproxyapi-installer/refs/heads/master/cliproxyapi-installer | bash
运行完成后安装到~/cliproxyapi,即用户目录中
配置web UI
需要先到安装目录中修改config.yaml中的
将:
secret-key:
改为
secret-key:"123456"
在目录终端运行 ./cli-proxy-api
启动后访问http://localhost:8317/management.html
输入123456即可进入
授...