openai-codex-cli-bin
Pinned Codex CLI runtime for the Python SDK
Decision gist · record as of 2026-08-14
Yes, if you have a ChatGPT Plus/Pro/Business/Edu/Enterprise plan or an OpenAI API key and want a local CLI interface to Codex. The package is actively maintained, permissively licensed, and eliminates manual binary management. Install friction is moderate due to platform-specific binaries, but the installation process is straightforward. No security vulnerabilities are known.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- The package is a binary wrapper; actual Codex functionality requires a ChatGPT account (Plus, Pro, Business, Edu, or Enterprise plan) or an OpenAI API key.
- Medium install friction due to platform-specific binaries (macOS x86_64 and arm64, Linux x86_64 and arm64, Windows x86_64 and arm64).
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both personal and commercial projects.
last release 2026-07-15 (30 days) · last repo commit 2026-08-14 · 105,970 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 298,209 downloads/mo, #7,875 on PyPI
Alternatives
Verify before relying
# Install via pip
pip install openai-codex-cli-bin
# Or use the shell installer (Mac/Linux)
curl -fsSL https://chatgpt.com/codex/install.sh | sh
# Then run
codex- Whether the pip-installed binary is kept in sync with standalone installers and other distribution channels.
- Specific feature parity between the CLI, IDE integrations (VS Code, Cursor, Windsurf), and the web-based Codex Web at chatgpt.com/codex.
- Whether offline operation is supported or if all requests route through OpenAI's servers.
What it is and what it does
This package provides a pre-built Codex CLI binary for local installation across macOS, Linux, and Windows platforms. Codex is OpenAI's coding agent—a tool that can read, write, and reason about code to assist with development tasks. The package itself is a wrapper that bundles the compiled binary for your platform, eliminating the need to manually download and extract executables from GitHub releases.
Once installed, you run `codex` from your terminal to launch an interactive coding agent. It integrates with your ChatGPT account (if you have a Plus, Pro, Business, Edu, or Enterprise plan) or can be configured with an API key for authentication. The CLI is designed as a standalone tool; if you want Codex integrated into your code editor, you install it directly in your IDE instead.
Use it for
- Generate code snippets or complete functions from natural-language descriptions at the command line.
- Use Codex as a local coding assistant without leaving your terminal or editor.
- Integrate Codex into shell scripts or automation workflows for programmatic code generation.
- Evaluate Codex capabilities on your own machine before committing to a ChatGPT plan.
- Access Codex on multiple platforms (macOS, Linux, Windows) with a single installation method.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you have a ChatGPT Plus/Pro/Business/Edu/Enterprise plan or an OpenAI API key and want a local CLI interface to Codex.
The package is actively maintained, permissively licensed, and eliminates manual binary management. Install friction is moderate due to platform-specific binaries, but the installation process is straightforward. No security vulnerabilities are known.
Install
openai-codex-cli-bin on PyPI
Before you install
Medium install friction due to platform-specific binaries (macOS x86_64 and arm64, Linux x86_64 and arm64, Windows x86_64 and arm64). Active maintenance with a recent release and high repository engagement (105970 stars), though the package is primarily a binary wrapper rather than a traditional Python library.
Requires Python 3.10 or later. The package is a binary wrapper; actual Codex functionality requires a ChatGPT account (Plus, Pro, Business, Edu, or Enterprise plan) or an OpenAI API key.
License in practice
Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both personal and commercial projects.
Quickstart
# Install via pip
pip install openai-codex-cli-bin
# Or use the shell installer (Mac/Linux)
curl -fsSL https://chatgpt.com/codex/install.sh | sh
# Then run
codex
Verify before relying
- Whether the pip-installed binary is kept in sync with standalone installers and other distribution channels.
- Specific feature parity between the CLI, IDE integrations (VS Code, Cursor, Windsurf), and the web-based Codex Web at chatgpt.com/codex.
- Whether offline operation is supported or if all requests route through OpenAI's servers.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 30 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 298,209 / month, #7,875 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13 |
Evidence: openai_codex_cli_bin-0.144.4-py3-none-macosx_10_9_x86_64.whl; openai_codex_cli_bin-0.144.4-py3-none-macosx_11_0_arm64.whl; openai_codex_cli_bin-0.144.4-py3-none-manylinux_2_17_aarch64.whl; openai_codex_cli_bin-0.144.4-py3-none-manylinux_2_17_x86_64.whl; openai_codex_cli_bin-0.144.4-py3-none-musllinux_1_1_aarch64.whl; openai_codex_cli_bin-0.144.4-py3-none-musllinux_1_1_x86_64.whl; openai_codex_cli_bin-0.144.4-py3-none-win_amd64.whl; openai_codex_cli_bin-0.144.4-py3-none-win_arm64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “openai codex cli local”
- openai-codex-cli-binProvides a local command-line interface to OpenAI's Codex coding…
- openai-codexPython SDK for building applications that interact with OpenAI Codex,…
- cisco-ai-skill-scannerScans AI Agent Skills for prompt injection, data exfiltration, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also openai-codex · google-agents-cli · autokeren · trinity-agent · ouroboros-ai · deepagents-code · openhands · omnigent · oci-cli · vastai