Claude Codex Termux
Description
A readymade script to install Claude Code / Codex CLI with patching for Termux.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
claude-codex-termux
A simple shell script which downloads Claude Code and Codex CLI binaries from their official sources and patches them to run in a Termux environment. Supports both a interactive menu and CLI arguments-based interface. Note that only aarch64 devices are supported.
get started
simplest way (interactive):
bash claude-codex-termux.sh
non-interactive (CLI arguments):
# install both (default)
bash claude-codex-termux.sh install both
# install only one
bash claude-codex-termux.sh install claude
bash claude-codex-termux.sh install codex
# uninstall
bash claude-codex-termux.sh uninstall both
bash claude-codex-termux.sh uninstall claude
bash claude-codex-termux.sh uninstall codex
environment variables
FORCE_INSTALL_CC_CODEX=1: reinstall even if the version marker already matches the latest upstream versionCLAUDE_RELEASE_VERSION=2.1.138: install a specific Claude Code release. Defaults tolatest.CODEX_RELEASE_TAG=rust-vX.Y.Z: pin a specific Codex release tag instead of resolvinglatestfrom GitHubCODEX_TERMUX_DEFAULT_SANDBOX=preserve: do not add Termux's default--sandbox danger-full-accessto the Codex wrapper
what the script does
- Downloads the latest Codex CLI release from GitHub (
openai/codex) - Patches each binary's hardcoded
/etc/resolv.confstring to/proc/self/fd/9\0. - Generates the resolver file from Android's
net.dns*system properties, falling back to1.1.1.1/8.8.8.8 - Installs binaries to
~/.local/lib/{claude-code,codex}and wrappers to~/.local/bin/{claude,codex} - Makes the Codex wrapper default to
--sandbox danger-full-accesson Termux, because stock Android does not provide Codex's bubblewrap sandbox prerequisites. Explicit--sandbox/-sarguments are left alone. - Appends a guarded
PATHblock to~/.bashrc,~/.zshrc, and~/.config/fish/config.fish
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11