fix: scope direct install docs to macOS and Linux

This commit is contained in:
Edward Frazer
2026-02-25 16:41:52 -08:00
parent 5dabc52e73
commit 68ec43d213
2 changed files with 6 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
<p align="center"><code>curl -fsSL https://chatgpt.com/codex/install.sh | sh</code><br /><code>powershell -NoProfile -ExecutionPolicy Bypass -Command "irm https://chatgpt.com/codex/install.ps1 | iex"</code><br />or <code>npm i -g @openai/codex</code><br />or <code>brew install --cask codex</code></p>
<p align="center"><code>curl -fsSL https://chatgpt.com/codex/install.sh | sh</code><br />or <code>npm i -g @openai/codex</code><br />or <code>brew install --cask codex</code></p>
<p align="center"><strong>Codex CLI</strong> is a coding agent from OpenAI that runs locally on your computer.
<p align="center">
<img src="https://github.com/openai/codex/blob/main/.github/codex-cli-splash.png" alt="Codex CLI splash" width="80%" />
@@ -14,18 +14,13 @@ 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:
Install the latest Codex release directly on macOS or Linux:
```shell
# Install on macOS or Linux
curl -fsSL https://chatgpt.com/codex/install.sh | sh
```
```powershell
# Install on Windows (PowerShell)
powershell -NoProfile -ExecutionPolicy Bypass -Command "irm https://chatgpt.com/codex/install.ps1 | iex"
```
You can also install with your preferred package manager:
```shell

View File

@@ -4,24 +4,19 @@
| Requirement | Details |
| --------------------------- | --------------------------------------------------------------- |
| Operating systems | macOS 12+, Ubuntu 20.04+/Debian 10+, or Windows 11 |
| Operating systems | macOS 12+, Ubuntu 20.04+/Debian 10+, or Windows 11 **via WSL2** |
| Git (optional, recommended) | 2.23+ for built-in PR helpers |
| RAM | 4-GB minimum (8-GB recommended) |
### Install the latest release
### Install the latest release on macOS or Linux
```bash
# macOS or Linux
curl -fsSL https://chatgpt.com/codex/install.sh | sh
```
```powershell
# Windows (PowerShell)
powershell -NoProfile -ExecutionPolicy Bypass -Command "irm https://chatgpt.com/codex/install.ps1 | iex"
```
The direct installers download the latest matching GitHub Release package for your platform and
place both `codex` and `rg` in a user-local directory.
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.
### DotSlash