Feature hasn't been suggested before.
Describe the enhancement you want to request
I would love to use OpenCode on Termux (android). Now it doesn't even build because OpenCode use precompiled binaries those are not compatible with Termux/Android format.
$ npm i -g opencode-ai
npm error code 1
npm error path /data/data/com.termux/files/usr/lib/node_modules/opencode-ai
npm error command failed
npm error command sh -c bun ./postinstall.mjs || node ./postinstall.mjs
npm error sh: line 1: bun: command not found
npm error Failed to setup opencode binary: Could not find package opencode-android-arm64: Cannot find module 'opencode-android-arm64/package.json'
npm error Require stack:
npm error - /data/data/com.termux/files/usr/lib/node_modules/opencode-ai/postinstall.mjs
npm error A complete log of this run can be found in: /root/.npm/_logs/2026-02-02T00_28_37_358Z-debug-0.log
$ curl -fsSL https://opencode.ai/install | bash
Installing opencode version: 1.1.48
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100%
Command already exists in /data/data/com.termux/files/home/.bashrc, skipping write.
▄
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
█░░█ █░░█ █▀▀▀ █░░█ █░░░ █░░█ █░░█ █▀▀▀
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
OpenCode includes free models, to start:
cd <project> # Open directory
opencode # Run command
For more information visit https://opencode.ai/docs
$ ~/.opencode/bin/opencode
error: "/data/data/com.termux/files/home/.opencode/bin/opencode" has unexpected e_type: 2
ENV:
Android 13
Xiaomi Pad 6
Feature hasn't been suggested before.
Describe the enhancement you want to request
I would love to use OpenCode on Termux (android). Now it doesn't even build because OpenCode use precompiled binaries those are not compatible with Termux/Android format.
ENV:
Android 13
Xiaomi Pad 6