Repository navigation
OpenCode 2.0.28 for Termux
OpenCode 2.0.28 runs natively in Termux on Android ARM64. No PRoot is needed, and the command is still opencode.
Install in Termux:
curl -fsSL https://github.com/Spectra010s/opencode-termux/raw/v2.0.28/install.sh | shThen run opencode. The installer verifies the download and replaces the opencode binary in ~/.local/bin; it does not delete your chats, sign-ins, or settings. If you may return to v1, back up your OpenCode data first because v2 can migrate the session database.
To update later, run opencode upgrade. To see what uninstall would remove, run opencode uninstall --dry-run.
Tested on a Redmi Note 13 running Android 14. Testing and feedback from other devices are welcome.
The release includes checksums for the download. See the build guide if you want to build it yourself.