Document direct install commands

This commit is contained in:
Edward Frazer
2026-02-25 09:35:25 -08:00
parent 02525c193a
commit 5dabc52e73
2 changed files with 30 additions and 3 deletions
+16 -1
View File
@@ -4,10 +4,25 @@
| 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 the latest release
```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.
### 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.