安装方式
按系统选择复制;不确定时优先看官方来源。
macOS / Linux
1macOS / Linux
curl -fsSL https://chatgpt.com/codex/install.sh | shWindows
1Windows PowerShell
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"其他方式
2npm
npm install -g @openai/codexHomebrew
brew install --cask codex