codex cli
需先准备好网络问题
https://install.q123q.cn/software/mihomo/01-install.html
sh
export http_proxy=http://127.0.0.1:7890
export https_proxy=http://127.0.0.1:7890
export HTTP_PROXY=$http_proxy
export HTTPS_PROXY=$https_proxy测试一下
sh
curl -I https://chatgpt.com
curl -I -x http://127.0.0.1:7890 https://chatgpt.comsh
curl -fsSL https://chatgpt.com/codex/install.sh | sh
hash -r
source ~/.bashrc
command -v codex
codex --version