skillfed

openai-codex-cli-bin

Pinned Codex CLI runtime for the Python SDK

openai-codex-cli-bin v0.144.4 298.2K downloads/30d#7,875 on PyPI105,970
Permissive license Apache-2.0 Active released

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

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

openai-codex-cli-bin on PyPI

pip

pip install openai-codex-cli-bin

uv

uv add openai-codex-cli-bin

poetry

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 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)

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

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

Tags

openai codex cli localcoding agent command linecodex binary installerlocal ai code assistantopenai codex terminal
ai-coding-agentcli-toolopenai

More Software Development packages

Further reading