npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mmmbuto/codex-cli-termux

v0.106.2-termux

Published

OpenAI Codex CLI (upstream rust-v0.106.0) packaged as 0.106.2-termux – TUI + automation for Android Termux (ARM64). Use 'codex' for TUI, 'codex exec --json' for automation.

Readme

🤖 Codex CLI - Latest Termux & LTS Termux/Linux/macOS

Built from upstream OpenAI Codex v0.106.0, compiled for Android Termux (ARM64) + LTS Termux/Linux/macOS

npm termux npm lts


Codex Termux Header

About

Built from upstream OpenAI Codex source, compiled for Linux x64 and Android Termux. Since Termux is not officially supported by upstream, we apply minimal patches only for critical compatibility issues.

Release Lines

  • Latest: Termux-only, tracks upstream OpenAI closely
  • LTS: Long-term support based on upstream rust-v0.80.0, minimal features + security patches to maintain /chat compatibility

Supported Platforms:

  • Android Termux (ARM64): Latest + LTS
  • Linux x64: LTS
  • macOS arm64: LTS (via npm + GitHub releases/CI artifacts)

Project Scope

Latest (Termux-only)

  • Compiles for ARM64 native on Android Termux
  • Tracks upstream OpenAI closely
  • Applies minimal patches for Termux-specific compatibility

LTS (Multi-platform)

  • Based on upstream rust-v0.80.0
  • Supports /chat and /responses wire APIs
  • Minimal features + security patches only
  • Stable for compatibility-focused use cases

What We Do

Use official OpenAI Codex source (https://github.com/openai/codex) ✅ Compile for Linux x64 + ARM64 (Android Termux native) ✅ Apply minimal patches only for Termux-specific issues not addressed upstream ✅ Package as npm for easy installation ✅ Maintain full Apache 2.0 compliance with OpenAI attribution

What We DON'T Do

NO new featuresNO behavior modifications (works exactly like upstream) ❌ NO replacement of official Codex


Patches & Updates

Latest Patches

We apply patches for issues that:

  • Prevent Codex from working on Termux
  • Are not addressed by upstream (Termux is not officially supported)
  • Are minimal and well-documented

Current patches: See patches/README.md for full documentation.

LTS Updates

  • Based on rust-v0.80.0 (minimal features + security only)
  • Maintains /chat wire API compatibility
  • Stability-focused for production use

Need help debugging upgrade alerts? See docs/termux-upgrade-checks.md for known causes and fix strategies.

Found an issue? Well-documented bug reports with reproduction steps are welcome! Open an issue.


📦 Installation

Termux (Android ARM64)

# Update Termux packages and install Node.js
pkg update && pkg upgrade -y
pkg install nodejs-lts -y

# Latest (tracks upstream)
npm install -g @mmmbuto/codex-cli-termux

# OR LTS (stable, /chat compatible)
npm install -g @mmmbuto/codex-cli-lts

# Verify
codex --version
codex login

Requirements: Android 7+, ARM64, Node.js >=18 (recommended v22+), ~50MB storage


Linux (x64)

# Install Node.js (example for Debian/Ubuntu)
sudo apt-get update
sudo apt-get install -y nodejs npm

# LTS (Linux support)
npm install -g @mmmbuto/codex-cli-lts

# Verify
codex --version
codex login

Requirements: Linux x64, Node.js >=18 (recommended v22+), ~80MB storage


macOS (arm64)

# Using npm
npm install -g @mmmbuto/codex-cli-lts

# Verify
codex --version
codex login

Requirements: macOS arm64, Node.js >=18 (recommended v22+), ~100MB storage


📚 Documentation


🔧 Project Maintenance

Community-maintained port enabling AI-powered coding on Android Termux. Activities include ARM64 compilation, upstream synchronization, Termux compatibility patches, and documentation.

Thank you to all users who have reported issues, provided feedback, and helped improve this project.


📝 License

This project maintains full compliance with Apache 2.0 license from OpenAI Codex.

Original work: Copyright OpenAI (https://github.com/openai/codex) Termux port: Minimal patches for Android compatibility

See LICENSE file for details.


🙏 Credits

  • OpenAI for the amazing Codex CLI
  • Termux community for Android terminal environment
  • All contributors to upstream Codex project

License

Apache License 2.0 (upstream OpenAI Codex) with Termux-port maintenance by Davide A. Guglielmi. Original project by OpenAI: https://github.com/openai/codex Made in Italy 🇮🇹