Summary
If you installed Claude Code on native Termux using v2.6.0 or earlier of this guide and claude now exits with Error: claude native binary not installed, you are hit by an upstream regression in @anthropic-ai/claude-code 2.1.113+. v2.7.0 of this repo fixes it.
Symptom
$ claude
Error: claude native binary not installed.
Either postinstall did not run...
Cause
Versions ≥ 2.1.113 of @anthropic-ai/claude-code switched from a bundled cli.js JS entry to a platform-native binary distribution. android-arm64 is not in the published platforms list, so on native Termux the postinstall does nothing and the 500-byte stub at bin/claude.exe becomes the launcher. Tracked upstream at anthropics/claude-code#50270.
The in-process auto-updater also re-fetches latest on a timer inside running sessions, so manual downgrades get silently clobbered minutes later. v2.7.0 defends the pin with chmod -R a-w on the install directory.
Fix
Re-run the install script:
curl -fsSL https://raw.githubusercontent.com/ferrumclaudepilgrim/claude-code-android/main/install.sh | bash
Or follow the manual recovery steps in the README or troubleshooting guide.
Path B and Path C
Unaffected. process.platform === 'linux' inside proot-distro Ubuntu and inside the AVF VM matches the published linux-arm64 native binary.
When this will be closed
When upstream restores android-arm64 support (track anthropics/claude-code#50270) AND a v2.x release of this guide ships unpinning Path A.
Comment below if you hit this and the fix worked, or if you saw a different failure mode — that helps us scope edge cases.
Summary
If you installed Claude Code on native Termux using v2.6.0 or earlier of this guide and
claudenow exits withError: claude native binary not installed, you are hit by an upstream regression in@anthropic-ai/claude-code2.1.113+. v2.7.0 of this repo fixes it.Symptom
Cause
Versions ≥ 2.1.113 of
@anthropic-ai/claude-codeswitched from a bundledcli.jsJS entry to a platform-native binary distribution. android-arm64 is not in the published platforms list, so on native Termux the postinstall does nothing and the 500-byte stub atbin/claude.exebecomes the launcher. Tracked upstream at anthropics/claude-code#50270.The in-process auto-updater also re-fetches
lateston a timer inside running sessions, so manual downgrades get silently clobbered minutes later. v2.7.0 defends the pin withchmod -R a-won the install directory.Fix
Re-run the install script:
Or follow the manual recovery steps in the README or troubleshooting guide.
Path B and Path C
Unaffected.
process.platform === 'linux'inside proot-distro Ubuntu and inside the AVF VM matches the publishedlinux-arm64native binary.When this will be closed
When upstream restores android-arm64 support (track anthropics/claude-code#50270) AND a v2.x release of this guide ships unpinning Path A.
Comment below if you hit this and the fix worked, or if you saw a different failure mode — that helps us scope edge cases.