适用于 Ubuntu 22.04、Ubuntu 24.04、CentOS 7、CentOS 8/Stream 8、CentOS Stream 9 和 Windows。
.codex/config.toml。
自动识别受支持的发行版。建议先下载,再执行,不直接使用 curl | bash。
( f=$(mktemp) && curl --proto '=https' -fsSL https://cli.yunguo.vip/install.sh -o "$f" && bash "$f"; rc=$?; rm -f "$f"; exit $rc )
指定项目目录:
( f=$(mktemp) && curl --proto '=https' -fsSL https://cli.yunguo.vip/install.sh -o "$f" && bash "$f" --project /path/to/project; rc=$?; rm -f "$f"; exit $rc )
$p = Join-Path $env:TEMP 'codex-deepseek-install.ps1'
Invoke-WebRequest 'https://cli.yunguo.vip/install.ps1' -OutFile $p
powershell.exe -NoProfile -ExecutionPolicy Bypass -File $p
Remove-Item $p -Force -ErrorAction SilentlyContinue
CentOS 6 不在正式安装范围。可先运行只读兼容性探针:
( f=$(mktemp) && curl --proto '=https' -fsSL https://cli.yunguo.vip/centos6-probe.sh -o "$f" && bash "$f"; rc=$?; rm -f "$f"; exit $rc )