docs: make Codex install docs native-first

This commit is contained in:
Edward Frazer
2026-03-02 14:35:45 -08:00
parent f90e97e414
commit 8db0d9e878
4 changed files with 49 additions and 14 deletions
+17 -1
View File
@@ -4,10 +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 |
| Git (optional, recommended) | 2.23+ for built-in PR helpers |
| RAM | 4-GB minimum (8-GB recommended) |
## Install Codex
Use the native installer for your platform:
```bash
# macOS or Linux
curl -fsSL https://chatgpt.com/codex/install.sh | sh
```
```powershell
# Windows (PowerShell)
powershell -c "irm https://chatgpt.com/codex/install.ps1|iex"
```
If you prefer a package manager, you can also install via npm (`npm install -g @openai/codex`) or Homebrew (`brew install --cask codex`).
### DotSlash
The GitHub Release also contains a [DotSlash](https://dotslash-cli.com/) file for the Codex CLI named `codex`. Using a DotSlash file makes it possible to make a lightweight commit to source control to ensure all contributors use the same version of an executable, regardless of what platform they use for development.