Claude Code for Android

Run the real Claude Code CLI natively on an Android phone through Termux or AVF, with no desktop, SSH, or root.

Stars
★ 340
Last updated
22d ago
License
MIT
Primary language
Shell

At a glance

How it runs
CLI
Works with
Platform-specificClaude Code · Claude API
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
Termux from F-Droid or GitHub (not Google Play)64-bit Android phone (aarch64) with Android 8+Claude subscription or Console/API accountShell / CLINetwork accessLocal filesystem
Typical use
A developer whose only device at hand is an Android phone and who needs a coding agent that can read and edit project files.
Not a fit if
  • Users unwilling to give an AI agent access to phone photos, messages and accounts
  • Owners of 32-bit Android phones or anyone refusing to install Termux
  • Teams that need official Anthropic support and endorsement
Website
ferrumclaudepilgrim.com ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-10-26latest release v2.9.5 (2026-10-26)+2.1 ★/day over 7 days
Source review
80/100 · Good

What does this agent do, and when should you use it?

This is a community-maintained installer and compatibility layer that gets Anthropic's official Claude Code CLI running on-device on Android. It offers three routes: Path A runs the official Linux binary through a small Termux compatibility layer, with a repo-provided launcher that checks for updates daily, verifies downloads, keeps a backup version, and rolls back on startup crashes; Path B installs Ubuntu inside Termux via proot-distro and hands off to Anthropic's own installer at a cost of about 2 GB of storage; Path C uses Android's built-in Linux development environment (AVF) to run a real Debian VM. The repository is at version 2.9.5 under the MIT license, maintained solo by Ferrum_Flux_Fenice (Erin), and states it is not affiliated with or endorsed by Anthropic, Google, or OpenAI. Alongside the scripts it ships device-compatibility evidence, a security model, troubleshooting, and an FAQ, and notes that the installer turns on no extra permissions by itself.

The center of the repo is install.sh: after being fetched from GitHub raw it asks two yes/no questions, configures Termux, installs Node.js and Claude Code, and replaces the claude command with the repo's launcher. That launcher checks once a day for a new Claude Code, smoke-tests it for startup crashes, keeps a previous version as backup where available, and falls back to a saved version if the startup check fails; claude --update-now forces an immediate check. On Android 8/9/10, install-pinned.sh instead installs a pinned Claude Code 2.1.112, and Path B builds a proot-distro Ubuntu rootfs where Anthropic's installer runs untouched. Path A also points Claude Code's own DNS resolver at 8.8.8.8 and 8.8.4.4 to avoid a known connection hang. Once installed, claude is a normal interactive CLI agent that reads files, runs commands, and goes online from the phone; combined with Termux:API and wireless ADB it can reach the microphone, location, SMS, notifications, and other apps — the maintainer used exactly that to fix voice mode recording silence on Android 16, and even compiled C/C++ audio code on the device.

  1. A developer whose only device at hand is an Android phone and who needs a coding agent that can read and edit project files.
  2. Someone who wants to keep Claude Code sessions going during a commute without running the work on a remote computer.
  3. Heavy users who want several concurrent Claude Code sessions, multi-agent workflows, or even on-device C/C++ compilation.
  4. Owners of AVF-capable phones like the Pixel 6 or Pixel 10 Pro who prefer an isolated Debian VM over touching the host Android system.
  5. People on older handsets such as the Moto G7 Power (Android 10) or Galaxy S7 (Android 8) who accept the pinned 2.1.112 build or Path B.
  6. Tinkerers who want to wire Claude Code to Termux:API and ADB for geofence alerts, voice chat, or notification triage.

How do you install or deploy this agent?

Prerequisites: install Termux from F-Droid or GitHub (not Google Play), use a 64-bit phone (uname -m inside Termux should print aarch64), and have a Claude subscription or Console/API account ready.

In Termux run:

curl -fsSL https://raw.githubusercontent.com/ferrumclaudepilgrim/claude-code-android/main/install.sh -o install.sh
bash install.sh

The script asks two yes/no questions and then runs unattended; expect roughly 5 to 10 minutes on a good connection. On Android 8, 9, or 10 use the pinned script instead:

curl -fsSL https://raw.githubusercontent.com/ferrumclaudepilgrim/claude-code-android/main/install-pinned.sh -o install-pinned.sh
bash install-pinned.sh

Path B (proot-distro Ubuntu inside Termux, about 2 GB of storage) and Path C (enable Developer options, find "Linux development environment" under Settings → System → Developer options, then follow the AVF guide on supported devices) are the documented alternatives.

How do you use this agent?

Open a new Termux session (or close and reopen Termux) after the installer finishes, then start the agent:

claude

Force an update check without waiting for the daily one:

claude --update-now

To upgrade an existing Path A install, rerun the install commands; the launcher is refreshed and your login and settings persist. If you are migrating from the old npm-based pinned 2.1.112 install, follow the migration steps in docs/install.md rather than installing over it. For launch crashes, the "Checking connectivity" hang, or sign-in trouble, start with docs/troubleshooting.md. Grant microphone, location, SMS, notification, or cross-app access only when a task needs it, by adding Termux:API and wireless ADB per the security model.

What are this agent's strengths and limitations?

Pros
  • Genuinely on-device: Claude Code runs on the phone itself with no desktop, SSH, cloud VM, or root.
  • The bundled launcher adds daily update checks, download integrity verification, a retained backup version, and startup-crash fallback rather than just swapping a binary.
  • Three distinct paths — native Termux, proot-distro Ubuntu, and an AVF Debian VM — span current flagships down to Android 8 handsets.
  • The security tradeoffs are stated plainly: default Google DNS for Claude Code's lookups, the exposure surface of Termux:API and ADB permissions, and prompt-injection risk, with an explicit note that nothing is enabled by default.
  • Compatibility claims rest on real-device evidence (Pixel 6, Pixel 10 Pro, Galaxy S26 Ultra, Moto G7 Power, Galaxy S7) rather than Android version numbers.
Limitations
  • Locked to a single vendor: it requires Claude Code plus a Claude subscription or API account, with no path to other model providers.
  • Requires Termux from F-Droid or GitHub and an aarch64 device; 32-bit phones and the Play Store Termux build are out.
  • Path B costs about 2 GB of storage and noticeably more memory and disk use; Path C is still experimental and limited to specific devices on Android 17.
  • Path A redirects Claude Code's DNS lookups to 8.8.8.8/8.8.4.4 by default, so those lookups skip your VPN's or Pi-hole's resolver.
  • Path A trusts the repo's launcher to download and patch every new Claude Code; it verifies integrity but cannot prove the source was not tampered with, and older devices are frozen at 2.1.112.
  • Maintained by one person who states they are not a security professional, so the docs are presented as evidence-backed guidance rather than a guarantee.

How does this agent compare with similar options?

The README names real alternatives. gtbuchanan/claude-code-termux packages the same patched-binary approach as an apt .deb, and this project's method started from that work; Ishabdullah/claude-code-termux covers the older npm route, the same family as this repo's pinned fallback. If you already have a computer running Claude Code, Anthropic's official Remote Control lets the work run there with the phone as a screen — the maintainer began looking for a local route largely because of that option's limits. The repo also cites google/artemis and openai/codex as ecosystem references rather than substitutes.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Claude Code for Android This agent 80 · Good CLIFree + model costs ★ 340 22d ago Shell Claude Code · Claude API
OpenClaw on Android 79 · Good CLIFree + model costs ★ 1.8k 1mo ago Kotlin —
DSH Go 78 · Good Desktop appFree + model costs ★ 25k today Dart —
Harness Remote 71 · Some gaps Desktop app ★ 446 today JavaScript Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Good
80/ 100 5-point scale 4.0 / 5
Trust 22/29
Reliability 9/14
Adaptability 16/18
Convention 16/18
Effectiveness 10/13
Verifiability 7/8
Why each dimension lost points
Trust22 / 29 · 3.8/5

The security model maps concrete boundaries for Termux, shared storage, Termux:API, ADB, MCP, networking, and DNS, and recommends granting access only as needed, inspecting consequential commands, and keeping backups. This supports strong data-flow transparency and attribution. The installer does not grant Android permissions, but its recommended bundle includes Termux:API commands, which may use grants already held by a companion app. Confirmation and sensitive-data protection are therefore not fully enforced by the system. Path A's download checks cannot establish that the upstream source was uncompromised, and recovery depends on a usable cached version, so those areas do not receive full marks.

Reliability9 / 14 · 3.2/5

The documentation distinguishes the three install paths, describes startup probes, updates, checksum failures, and cached-version fallback, and gives symptom-specific recovery steps. Some claims still depend on version and device observations distributed across documents. Installation also depends on network access, Anthropic downloads, and compatibility components; the supplied material does not establish the continuing availability of those external dependencies. Failure messaging scores well, while dependency availability is thin and self-consistency is moderate.

Adaptability16 / 18 · 4.4/5

The materials address ARM64 Android users and compare Termux, proot Ubuntu, and AVF, including older devices, sign-in, background limits, and optional Android integrations. The skill uses PREFIX to identify Termux and explains path-specific boundaries and silent failure modes. The skill applies only in Termux, and its runtime behavior is not identical to the repository-level installer product, so trigger precision is not fully established.

Convention16 / 18 · 4.4/5

README, installation, security, FAQ, troubleshooting, and compatibility documents have clear roles. Prerequisites, path selection, recovery, limitations, examples, and FAQs are concrete. The MIT license is explicit, and the maintainer identifies the project as solo-maintained and provides issue and contribution routes. The README shows a repository version and references historical updates, but the supplied material is insufficient to assess a complete change history. Repository and Claude Code versions run in parallel; the distinction is documented but can still confuse readers.

Effectiveness10 / 13 · 3.8/5

The project enables several ways to run Claude Code locally on Android and provides useful installation, extension, and recovery guidance for a specific environment gap. The repository itself is an installer and documentation framework; Claude Code produces the coding output. Storage, network and device-resource requirements, plus added security considerations, are real costs, and the material does not quantify long-term benefits for ordinary users.

Verifiability7 / 8 · 4.4/5

Many claims are tied to named scripts, observed symptoms, device records, or upstream mechanisms. The documentation states limits of checksum checks and startup probes and distinguishes observations, inferences, and unverified points. README, FAQ, security, and troubleshooting material corroborate each other, but the packet is a sample and some supplied file content is incomplete. Test files show how checks are designed; this review does not claim to have run or passed them.

Risks and how to mitigate them
  • Path A defaults Claude Code's own DNS resolver to Google DNS. This bypasses the configured private resolver; the documentation says this alone does not establish that traffic bypasses a VPN.
  • Claude Code and other Termux processes can reach files and networks available to their tools. Shared storage, Termux:API, ADB, MCP, and optional hooks can expand or change that access; prompts and example hooks are not an operating-system sandbox.
  • Compatibility rests on a limited set of device observations. AVF is explicitly experimental; check the device guide before installing. Static materials cannot confirm runtime behavior on a particular phone.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision a0477923457b
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/claude-code-android.svg)](https://followagents.com/en/agents/claude-code-android)
<a href="https://followagents.com/en/agents/claude-code-android"><img src="https://followagents.com/badge/claude-code-android.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v2.9.5
    Release notes excerpt
    This update reorganizes the guides, consolidates device reports, and tightens maintainer checks. Device results retain their recorded dates and testing boundaries. Added - A device compatibility and evidence table combines dated maintainer checks, contributor evidence, and community reports, including the Galaxy S23 Ultra Path B report in issue #12. Reported workarounds remain distinct from fixed defects. - A passive Android sensor probe and saved results from four lab phones. The results separate sensor availability from observed events and record the ADB-shell test boundary. …
    View on GitHub ↗
  2. v2.9.4
    Release notes excerpt
    A reliability release for the installer and the launcher, with a documentation pass alongside it. Three things could go wrong on a real phone. On a device where the current Claude Code cannot start at all, install.sh ran its launch probe as a bare command under a shell setting that exits on any failure, so it stopped right there, before writing the launcher, the settings, or the PATH entry. The user got a raw Killed and no working claude command instead of the explanation the script was written to give. Android 8 and 10 are where that fired, and a healthy install passes straight through …
    View on GitHub ↗
  3. v2.9.3
    Release notes excerpt
    A DNS reliability release. It works around a Bun bug that makes Claude Code hang on "checking connectivity" and fail with ETIMEOUT on Termux, and it makes search work out of the box on the pinned install for older devices. Why the DNS fix is needed: Claude Code is a Bun binary, and on Linux Bun's DNS resolver defaults to c-ares, which reads /etc/resolv.conf. Termux has no /etc/resolv.conf, so c-ares falls back to a resolver at 127.0.0.1:53 where nothing is listening, and lookups fail. Because the binary is the linux-arm64 build, Bun treats the environment as Linux and takes that c-ares …
    View on GitHub ↗

FAQ

Do I need root or a computer?
No. Path A runs the official Linux binary through a Termux compatibility layer and Path C runs a Debian VM via Android's built-in AVF; the README states no root, no desktop, no SSH, and no cloud VM.
Why can't I install Termux from Google Play?
The README requires Termux from F-Droid or GitHub and does not support the Play Store build. The phone must also be 64-bit, i.e. uname -m prints aarch64.
How much extra data exposure does this create?
Claude Code is an agent, so anything Termux can reach it can reach. The installer enables nothing extra, but once you grant storage, Termux:API SMS/location/microphone, or ADB, it can read and potentially upload that data; Path A also sends Claude Code's own DNS lookups to Google. Grant per task, revoke after, and leave wireless debugging off.
Does it work on older Android 8, 9, or 10 phones?
Yes, but not the current build. Use install-pinned.sh or Path B; the pinned script installs a fixed older Claude Code (2.1.112) that no longer tracks upstream releases.
What happens if an update breaks the install?
Check docs/troubleshooting.md first. The Path A launcher keeps a previous version as backup and tries saved versions when a startup check detects a crash, and claude --update-now triggers a check manually; as a last resort rerun install.sh, which keeps your login and settings.
Is Claude Code for Android free?
The software is free, but Claude Code for Android calls an AI model, and you pay that model provider for usage (or run a local model).
Is Claude Code for Android open source?
Yes. The source code is on GitHub (ferrumclaudepilgrim/claude-code-android) under the MIT licence.
Is Claude Code for Android safe to use?
FollowAgents' FARS review (Nov 08, 2026) scored Claude Code for Android 22/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is Claude Code for Android still maintained?
Yes. The latest commit on GitHub is from 2026-10-26, within the last 30 days. The latest release is v2.9.5 (2026-10-26).
Who makes Claude Code for Android?
Claude Code for Android is published on GitHub by the account ferrumclaudepilgrim. FollowAgents has not verified which person or company is behind that account.
What is Claude Code for Android's official website?
The project's GitHub repository lists https://ferrumclaudepilgrim.com as its website. That link is set by the repository owner; the source code itself is on GitHub (ferrumclaudepilgrim/claude-code-android).
Was this page helpful?
View on GitHub ↗ Install ↓

Host ecosystems

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts