[BUG] Claude new version failure in termux
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Auto updates to 2.1.116 and can't build due to unnecessary hardcoded check ensuring platform isn't Android. Termux ran Claude totally perfectly in the past and was amazing. There are no bugs in Android and it shouldn't be purposefully excluded. I imagine it's a mistake and a bug.
What Should Happen?
Simply remove that unnecessary check
Error Messages/Logs
~/.../public/jtech-tui $ claude ✔
Error: claude native binary not installed.
Either postinstall did not run (--ignore-scripts, some pnpm configs)
or the platform-native optional dependency was not downloaded
(--omit=optional).
Run the postinstall manually (adjust path for local vs global install):
node node_modules/@anthropic-ai/claude-code/install.cjs
Or reinstall without --ignore-scripts / --omit=optional.
Running it manually shows that platform is Android and unsupported
Steps to Reproduce
Simply slow auto update in termux, exit and reopen. Won't reopen
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.112
Claude Code Version
2.1.116
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
To see the old version working perfectly without getting bombarded with auto update breaking it, add to config env to disable auto update
Btw as a paying user with only termux with frequent Claude use - this absolutely sucks. I hope it gets fixed soon
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗