Native Codex CLI for Termux / Android ARM64.
Latest Termux line built from upstream OpenAI Codexrust-v0.120.0.
The separate multi-platform LTS line remains available as@mmmbuto/codex-cli-lts.
- Latest (
main) → Termux-focused line published as@mmmbuto/codex-cli-termux - LTS (
lts) → compatibility-focused line published as@mmmbuto/codex-cli-lts - Upstream base →
rust-v0.120.0 - Current limitation → voice and realtime audio stay disabled in the Termux latest package
pkg update && pkg upgrade -y
pkg install nodejs-lts -y
# Latest Termux line
npm install -g @mmmbuto/codex-cli-termux@latest
# Verify
codex --version
codex loginRequirements:
- Android 7+ / API 24+
- ARM64 device
- Node.js >= 18
For non-Termux systems, use the LTS line instead:
npm install -g @mmmbuto/codex-cli-lts
codex --version
codex login- Native ARM64 Android build for Termux
- Tracks upstream OpenAI Codex closely
- Minimal compatibility delta only
- Fork update checks and release links point to
DioNanos/codex-termux
- Conservative support line for compatibility-focused use
- Separate npm package:
@mmmbuto/codex-cli-lts - Linux and macOS remain supported there
- Uses the official OpenAI Codex source as upstream
- Builds native Android ARM64 binaries for Termux
- Applies only compatibility patches that upstream does not carry
- Publishes release artifacts on GitHub and npm for Termux users
- Maintain a broad feature fork
- Replace upstream Codex
- Carry unrelated product behavior changes
Current Termux-specific carry patches include:
- browser login via
termux-open-url - launcher hardening for helper re-exec
RUNPATH=$ORIGINon Android ELF binaries- fork-specific update channel and release links
Current published limitation:
- voice and realtime audio remain disabled in the Termux latest package
This keeps the packaged binaries free of Android audio linker dependencies while preserving the rest of the upstream CLI flow.
- Latest GitHub release: v0.120.0-termux
- Upstream release base: rust-v0.120.0
- npm latest:
@mmmbuto/codex-cli-termux - npm LTS:
@mmmbuto/codex-cli-lts
- Changelog
- Patch inventory
- Runtime validation report
- Building from source
- Install and build docs
- Authentication
- Configuration
This project remains under the Apache 2.0 license inherited from OpenAI Codex.
- Original work: OpenAI
- Termux port: minimal Android compatibility patches
See LICENSE.
