Codex 下载安装指南:Windows 和 macOS 官方版下载

本文整理 OpenAI Codex 的官方下载与安装方式,包含 Windows 版、macOS 版直接下载链接,以及官方脚本安装、npm 安装方式。

建议只从 OpenAI 官方渠道下载,不要使用第三方下载站提供的所谓"完整版""绿色版""破解版",避免账号、代码和本地文件安全风险。

一、直接下载官方安装包

当前整理版本:0.135.0

发布时间:2026-05-28

官方发布页:

https://github.com/openai/codex/releases/tag/rust-v0.135.0

1. Windows x64 版

适合大多数 Intel / AMD 架构的 Windows 电脑。

直接下载:

https://github.com/openai/codex/releases/download/rust-v0.135.0/codex-x86_64-pc-windows-msvc.exe

压缩包版本:

https://github.com/openai/codex/releases/download/rust-v0.135.0/codex-x86_64-pc-windows-msvc.exe.zip

2. Windows ARM64 版

适合 ARM 架构 Windows 设备,例如部分 Windows on ARM 设备。

直接下载:

https://github.com/openai/codex/releases/download/rust-v0.135.0/codex-aarch64-pc-windows-msvc.exe

压缩包版本:

https://github.com/openai/codex/releases/download/rust-v0.135.0/codex-aarch64-pc-windows-msvc.exe.zip

3. macOS Apple Silicon 版

适合 M1、M2、M3、M4 等 Apple 芯片 Mac。

下载地址:

https://github.com/openai/codex/releases/download/rust-v0.135.0/codex-aarch64-apple-darwin.tar.gz

4. macOS Intel 版

适合 Intel 处理器 Mac。

下载地址:

https://github.com/openai/codex/releases/download/rust-v0.135.0/codex-x86_64-apple-darwin.tar.gz

二、官方推荐安装方式

如果你不想手动下载文件,也可以使用 OpenAI 官方安装脚本。

1. Windows PowerShell 安装

打开 PowerShell,执行:

powershell 复制代码
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"

2. macOS / Linux 终端安装

打开终端,执行:

bash 复制代码
curl -fsSL https://chatgpt.com/codex/install.sh | sh

3. npm 安装

如果电脑已经安装 Node.js,也可以通过 npm 安装:

bash 复制代码
npm install -g @openai/codex

安装完成后,通常可以在终端中执行:

bash 复制代码
codex

如需打开 Codex 桌面应用体验,可以尝试:

bash 复制代码
codex app

三、官方来源汇总

OpenAI Codex GitHub 仓库:

https://github.com/openai/codex

OpenAI Codex GitHub Releases:

https://github.com/openai/codex/releases

Codex App 页面:

https://chatgpt.com/codex?app-landing-page=true

npm 包:

https://www.npmjs.com/package/@openai/codex

四、下载安全提醒

建议只使用以下官方来源:

  • github.com/openai/codex
  • chatgpt.com/codex
  • npmjs.com/package/@openai/codex

不要下载来源不明的"绿色版""破解版""完整版"。这类文件可能被二次打包或植入恶意代码,存在登录凭证泄露、代码仓库泄露、本地文件泄露等风险。

如果只是安装 Codex CLI,优先使用官方安装脚本或 GitHub Releases。若需要桌面应用体验,可以使用 codex app 或访问官方 Codex App 页面。

相关推荐
FungLeo17 分钟前
Swift macOS 游戏开发实战|空当接龙 13|SwiftUI 与 AppKit 应用的多语言切换与 RTL 布局
macos·国际化·swiftui·swift·rtl
TST-魚爷36 分钟前
腾讯会议搭配一体化全向麦,音频快速设置教程-易视讯
服务器·windows·音视频·腾讯会议·zoom会议
AirDroid_cn4 小时前
下棋也有“光影魔术”:macOS Sequoia国际象棋棋盘随环境光自动变质感
macos
Vex2une18 小时前
电脑风扇吵、温度高怎么办?清灰、硅脂更换与风扇曲线调节指南
windows·清灰·电脑散热·风扇噪音大·硅脂更换·风扇曲线·cpu温度高
FungLeo1 天前
Swift macOS 游戏开发实战|空当接龙 07|使用 Swift 计算稳定牌桌布局与命中区域
macos·swift·游戏开发·界面布局·命中检测
feasibility.1 天前
电脑一天重启3次、WiFi还消失:蓝屏0x9F背后,是MT7921网卡撞上Windows电源管理
服务器·网络·windows·wifi·电脑·网卡·驱动
FungLeo1 天前
Swift macOS 游戏开发实战|空当接龙 06|使用 SVG 与 Node.js 制作 macOS 游戏牌面
macos·node.js·svg·swift·游戏素材
StarsGreen1 天前
Android系统相关命令介绍
android·windows
Ceelog1 天前
2026 年 Mac 磁盘清理工具怎么选:App Store 沙盒版、开源命令行和老牌软件对比
macos
FungLeo2 天前
Swift macOS 游戏开发实战|空当接龙 03|使用 Swift 实现可复现的洗牌算法
macos·swift·随机数·fisher-yates·洗牌算法