--- id: openai-codex-cli-bin version: "0.144.4" license: Apache-2.0 license_treatment: permissive maintenance: active --- # openai-codex-cli-bin — Pinned Codex CLI runtime for the Python SDK License: permissive · Maintenance: active · Downloads: 298.2K/mo ## 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 above — verify before relying. Provides a local command-line interface to OpenAI's Codex coding agent, packaged as a pre-built binary for multiple platforms. 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 pip install openai-codex-cli-bin uv add openai-codex-cli-bin poetry add openai-codex-cli-bin ## Installing openai-codex-cli-bin 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. 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 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. 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_current - Install friction: medium - Maintenance: active - Downloads: 298.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags openai codex cli local, coding agent command line, codex binary installer, local ai code assistant, openai codex terminal, ai-coding-agent, cli-tool, openai [View on SkillFed](https://skillfed.io/packages/openai-codex-cli-bin) · [View on PyPI](https://pypi.org/project/openai-codex-cli-bin/)