@rickgetz/codex
v0.146.0-rick.2
Published
Codex CLI is a coding agent from OpenAI that runs locally on your computer.
Readme
Quickstart
Installing and running Codex CLI
Run the following on Mac or Linux to install Codex CLI:
curl -fsSL https://chatgpt.com/codex/install.sh | shRun the following on Windows to install Codex CLI:
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"The standalone installers download from https://releases.openai.com/codex by default and fall back to GitHub Releases if a metadata or asset download is unavailable. To force GitHub Releases, set CODEX_INSTALLER_USE_RELEASES_OPENAI_COM to false (0 and no are also accepted):
curl -fsSL https://chatgpt.com/codex/install.sh | CODEX_INSTALLER_USE_RELEASES_OPENAI_COM=false sh$env:CODEX_INSTALLER_USE_RELEASES_OPENAI_COM='false'; irm https://chatgpt.com/codex/install.ps1 | iexCodex CLI can also be installed via the following package managers:
# Install using npm
npm install -g @rickgetz/codexThen run codex-rick to start this fork. The upstream @openai/codex
package can remain installed as codex for fallback use.
This fork currently publishes:
- macOS
- Apple Silicon/arm64:
codex-aarch64-apple-darwin.tar.gz
- Apple Silicon/arm64:
Each archive contains a single entry with the platform baked into the name (codex-aarch64-apple-darwin), so you likely want to rename it to codex after extracting it.
Using Codex with your ChatGPT plan
Run codex and select Sign in with ChatGPT. We recommend signing into your ChatGPT account to use Codex as part of your Plus, Pro, Business, Edu, or Enterprise plan. Learn more about what's included in your ChatGPT plan.
You can also use Codex with an API key, but this requires additional setup.
Docs
- Codex Documentation
- Contributing
- Installing & building
- Fork differences
- Fork npm releases
- Open source fund
This repository is licensed under the Apache-2.0 License.
