Skip to content

OpenCode 2 for Termux v1.0.2 (app 2.0.0-android-termux.1)

Pre-release
Pre-release

Choose a tag to compare

@guysoft guysoft released this 29 Sep 16:34

OpenCode 2 for Termux -- release v1.0.2

Version fix. The binary was reporting the repo packaging number (1.0.1), which looked like
an OpenCode v1 version. It now reports the OpenCode 2 app version:

$ opencode2 --version
opencode2 v2.0.0-android-termux.1

Two numbers, two meanings:

Number Meaning
2.0.0-android-termux.1 the OpenCode 2 app version (what --version shows)
v1.0.x this repo release/package number (tags, asset filenames)

The packages are named 1.0.2; the app inside them is 2.0.0-android-termux.1.

Side-by-side with v1 (unchanged from v1.0.1)

opencode (v1) and opencode2 (v2) share no paths and install together:

v1 v2
command opencode opencode2
binary libexec/opencode/opencode.bin libexec/opencode2/opencode2.bin
renderer lib/libopentui.so libexec/opencode2/libopentui.so

Install

Pacman

curl -LO https://github.com/guysoft/opencode-termux/releases/download/v1.0.2/opencode2-1.0.2-1-aarch64.pkg.tar.xz
pacman -U opencode2-1.0.2-1-aarch64.pkg.tar.xz
opencode2

Deb

curl -LO https://github.com/guysoft/opencode-termux/releases/download/v1.0.2/opencode2_1.0.2_aarch64.deb
dpkg -i opencode2_1.0.2_aarch64.deb
opencode2

Standalone zip

curl -LO https://github.com/guysoft/opencode-termux/releases/download/v1.0.2/opencode2-1.0.2-android-aarch64.zip
mkdir -p $PREFIX/libexec/opencode2
unzip opencode2-1.0.2-android-aarch64.zip
mv opencode2 $PREFIX/bin/opencode2 && chmod +x $PREFIX/bin/opencode2
mv opencode2.bin libopentui.so $PREFIX/libexec/opencode2/
chmod +x $PREFIX/libexec/opencode2/opencode2.bin
pkg install ripgrep
opencode2

Pacman and deb pull in ripgrep automatically.

SHA256 checksums in SHA256SUMS.