Repository navigation
π v2.0.0 β DNS Fixed + Patched musl Loader #2
AbdulRahmanMMuhammad
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
π Termux Claude Code Installer v2.0.0
π₯ Run Claude Code natively on Termux β 100% WORKING, 0% PROOT, DNS FIXED, one command and you're in! π
π Major update β DNS now works!
This release fixes the #1 issue from v1.0.0: DNS resolution failures inside Claude Code.
If you had
EAI_AGAIN,getaddrinfo failed, or network errors on v1.0.0, v2.0.0 fixes it.β‘ Install in 10 seconds
curl -fsSL https://raw.githubusercontent.com/Ryovx/Termux-Claude-Code/main/install.sh | bashThen run:
That's it. π―
π What was broken in v1.0.0
Claude Code needs network access. The stock Alpine musl loader reads
/etc/resolv.conf, which is not readable inside Termux. Android routes DNS through thenetdsystem service, so musl-based lookups were failing with:Result:
claudewould launch, but every API call to Anthropic would fail with a network error.β¨ What's new in v2.0.0
π DNS fixed β patched musl loader
We now ship a patched musl loader built from Ryovx/Musl-on-Termux that adds:
MUSL_ON_TERMUX=1env var$PREFIX/etc/resolv.conf1.1.1.1β8.8.8.8β127.0.0.1The launcher sets
MUSL_ON_TERMUX=1unconditionally, so DNS works with zero user configuration.π SHA256-verified runtime
The musl runtime is now downloaded from a signed release archive and verified against a pinned SHA256 before extraction. Installation aborts on any mismatch.
π Automatic
resolv.confsetupThe installer creates
$PREFIX/etc/resolv.confwith sane defaults if it doesn't exist:If you already have a
resolv.conf, it is preserved β never overwritten.π‘οΈ Safer installer
--forcewipes musl runtime β clean re-download when neededclaude-uninstallsafety guard β refuses to run outside a Termux$PREFIXreadelfinstead offileβ more reliable ELF inspection across Termux versionsπ¦ What gets installed
$PREFIX/bin/claude$PREFIX/bin/claude-fix$PREFIX/bin/claude-update$PREFIX/bin/claude-uninstall$PREFIX/lib/claude-musl/$PREFIX/lib/node_modules/@anthropic-ai/claude-code-linux-arm64-musl/claude$PREFIX/etc/resolv.confNothing is written outside
$PREFIX.π₯ Breaking changes
If you're upgrading from v1.0.0:
Ryovx/Musl-on-Termuxinstead.MUSL_ON_TERMUX=1is now mandatory. The launcher sets it automatically β no action needed from you.claude-fixβ re-runinstall.shinstead.Migration:
curl -fsSL https://raw.githubusercontent.com/Ryovx/Termux-Claude-Code/main/install.sh | bashThat's it. The installer handles everything.
π Requirements
aarch64(ARM64) onlyπ Documentation
Full documentation in three languages:
π Known limitations
aarch64)export ANTHROPIC_API_KEY=sk-ant-... claudeπ License
Licensed under the GNU General Public License v3.0 or later (SPDX:
GPL-3.0-or-later). See LICENSE for full text.π€ Open Invention Network (OIN)
Ryovx is a proud member of the Open Invention Network (OIN). In line with OIN's mission and our commitment to the Termux community, most of Ryovx's service products are released under GNU GPLv3.
The patched musl runtime bundled by this installer is distributed under the MIT License by Ryovx/Musl-on-Termux. The musl sources it is based on are released under the MIT License by the musl project.
π Ethical Request β Not a Legal Restriction
Just as we provide this tool completely free of charge, we kindly ask that you do the same: please keep it free.
π Full Changelog
Full Changelog:
v1.0.0...v2.0.0See CHANGELOG.md for the complete changelog.
Built with β€οΈ for the Termux community
β If this project saved you hours of head-scratching, consider starring the repo β
Not affiliated with Anthropic. Claude Code is a trademark of Anthropic, PBC.
This discussion was created from the release π v2.0.0 β DNS Fixed + Patched musl Loader.
All reactions