fix: publish windows direct install docs

This commit is contained in:
Edward Frazer
2026-02-26 21:31:52 -08:00
parent f26a3c8e74
commit 925bd22dbc
3 changed files with 27 additions and 12 deletions

View File

@@ -14,14 +14,17 @@ If you want Codex in your code editor (VS Code, Cursor, Windsurf), <a href="http
### Installing and running Codex CLI
Install the latest Codex release directly on macOS or Linux:
Install the latest Codex release directly:
```shell
# Install on macOS or Linux
# Install on macOS, Linux, or WSL
curl -fsSL https://chatgpt.com/codex/install.sh | sh
```
Windows direct installer support is coming soon. Until then, run Codex on Windows 11 via WSL2.
```powershell
# Install on Windows
powershell -c "irm https://chatgpt.com/codex/install.ps1|iex"
```
You can also install with your preferred package manager:

View File

@@ -4,14 +4,21 @@ We provide Codex CLI as a standalone, native executable to ensure a zero-depende
## Installing Codex
Today, the easiest way to install Codex is via `npm`:
Install the latest Codex release directly:
```shell
npm i -g @openai/codex
# macOS, Linux, or WSL
curl -fsSL https://chatgpt.com/codex/install.sh | sh
codex
```
You can also install via Homebrew (`brew install --cask codex`) or download a platform-specific release directly from our [GitHub Releases](https://github.com/openai/codex/releases).
```powershell
# Windows
powershell -c "irm https://chatgpt.com/codex/install.ps1|iex"
codex
```
You can also install via npm (`npm i -g @openai/codex`), Homebrew (`brew install --cask codex`), or download a platform-specific release directly from our [GitHub Releases](https://github.com/openai/codex/releases).
## Documentation quickstart

View File

@@ -4,21 +4,26 @@
| Requirement | Details |
| --------------------------- | --------------------------------------------------------------- |
| Operating systems | macOS 12+, Ubuntu 20.04+/Debian 10+, or Windows 11 **via WSL2** |
| Operating systems | macOS 12+, Ubuntu 20.04+/Debian 10+, or Windows 11 (64-bit, PowerShell) |
| Git (optional, recommended) | 2.23+ for built-in PR helpers |
| RAM | 4-GB minimum (8-GB recommended) |
### Install the latest release on macOS or Linux
### Install the latest release
```bash
# macOS or Linux
# macOS, Linux, or WSL
curl -fsSL https://chatgpt.com/codex/install.sh | sh
```
Windows direct installer support is coming soon. Until then, run Codex on Windows 11 via WSL2.
```powershell
# Windows
powershell -c "irm https://chatgpt.com/codex/install.ps1|iex"
```
The direct installer downloads the latest matching GitHub Release package for macOS or Linux and
places both `codex` and `rg` in a user-local directory.
The direct installer downloads the latest matching GitHub Release package for your platform and
places the CLI binaries in a user-local directory.
To update a native install, rerun the same installer command.
### DotSlash