GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Termux support :pray: · Issue #961 · anomalyco/opencode

Termux support 🙏 #961

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Termux support 🙏#961
Copy link
Assignees
adamdotdevin

Description

@keeganmccallum
keeganmccallum
opened on Jul 14, 2025
Issue body actions
No description provided.
Reacted by Ajay Mamtora, Ali Mohammed, Jude Etuka, Nguyễn Duy Anh, paperbenni, U Cirello, Jacopo Secchiero, Bence Ferdinandy, Alok Regmi, Pablo Vitasso and 13 more
Reacted by bowber, Animesh, Amos Wong and Christoph Döllinger

Activity

  1. keeganmccallum
    changed the title [-]Termux[/-] [+]Termux support :pray:[/+] on Jul 14, 2025
  2. thdxr
    assigned
    thdxr
    and
    adamdotdevin
    and unassigned
    thdxr
    on Jul 14, 2025
  3. paperbenni commented on Nov 15, 2025

    @paperbenni
    paperbenni
    on Nov 15, 2025
    More actions

    Please I want this!!

    Reacted by Ue1i7on and Christoph Döllinger
    Reacted by Pablo Vitasso, zhangchen and Christoph Döllinger
  4. ferdinandyb commented on Dec 17, 2025

    @ferdinandyb
    ferdinandyb
    on Dec 17, 2025
    Contributor
    More actions

    @rekram1-node Do you guys have any plans for supporting termux?

    Reacted by Ue1i7on
  5. rekram1-node commented on Dec 17, 2025

    @rekram1-node
    rekram1-node
    on Dec 17, 2025
    Member
    More actions

    we have had some discussions, if claude code works on termux opencode should be able to as well

    havnt looked into it enough to see what the issue is

    Reacted by Ue1i7on
    Reacted by Bence Ferdinandy, Ajay Mamtora, paperbenni and Thybault
  6. bign8 commented on Jan 22, 2026

    @bign8
    bign8
    on Jan 22, 2026
    More actions

    Not sure if this is the same issue for everyone, but this is the error I see in Termux:

    ~ $ curl -fsSL https://opencode.ai/install | bash
    Installed version: .
    
    Installing opencode version: 1.1.30
    ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100%
    
                                     ▄
    █▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
    █░░█ █░░█ █▀▀▀ █░░█ █░░░ █░░█ █░░█ █▀▀▀
    ▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀  ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
    
    
    OpenCode includes free models, to start:
    
    cd <project>  # Open directory
    opencode      # Run command
    
    For more information visit https://opencode.ai/docs
    
    
    ~ $ opencode
    bash: /data/data/com.termux/files/home/.opencode/bin/opencode: cannot execute: required file not found
    ~ $
    

    Or

    ~ $ npm i -g opencode-ai@latest
    
    > [email protected] postinstall
    > bun ./postinstall.mjs || node ./postinstall.mjs
    
    sh: 1: bun: not found
    Failed to setup opencode binary: Could not find package opencode-android-arm64: Cannot find module 'opencode-android-arm64/package.json'
    Require stack:
    - /data/data/com.termux/files/usr/lib/node_modules/opencode-ai/postinstall.mjs
    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 A complete log of this run can be found in: /data/data/com.termux/files/home/.npm/_logs/2026-01-24T06_11_52_133Z-debug-0.log
    

    Even bun had a similar issue

    ~ $ curl -fsSL https://bun.com/install | bash
    bun was installed successfully to ~/.bun/bin/bun
    
    Added "~/.bun/bin" to $PATH in "~/.bash_profile"
    
    To get started, run:
    
      source /data/data/com.termux/files/home/.bash_profile
      bun --help
    ~ $ source ~/.bash_profile
    ~ $ bun -h
    bash: /data/data/com.termux/files/home/.bun/bin/bun: cannot execute: required file not found
    ~ $
    

    update Not certain, but this looks suspicious:
    (Termux has weird fs mappings, so lib isn't necessarily at /)

    ~ $ strings $(which bun) | head -n 1
    /lib/ld-linux-aarch64.so.1
    ~ $ strings $(which opencode) | head -n 1
    /lib/ld-linux-aarch64.so.1
    ~ $ pwd
    /data/data/com.termux/files/home
    ~ $ ls /lib
    ls: cannot access '/lib': No such file or directory
    ~ $
    

    (Sorry, idk if this is helpful or just noise. It's been a while since I've been up to speed in the npm world, and I'm far from an expert in termux. Just trying to help)

  7. danielpcampagna commented on Feb 4, 2026

    @danielpcampagna
    danielpcampagna
    on Feb 4, 2026
    More actions

    I could do this within proot-distro, but with a lazy start, and it just worked once. :(

    Image

  8. danielpcampagna commented on Feb 4, 2026

    @danielpcampagna
    danielpcampagna
    on Feb 4, 2026
    More actions

    Following Issue #3143

  9. enesofbyte commented on Feb 4, 2026

    @enesofbyte
    enesofbyte
    on Feb 4, 2026
    More actions

    @danielpcampagna please use "opencode web" to run opencode. It should say something like "anthropic-auth module not found". If this happens go to that directory and run "npm install". I do not remember which directory it is but it should say it there (might be [.config/opencode/node_modules]). If the same problem appears with another module, just do the fix again. you may need to install opencode with npm.

    Reacted by danielpcampagna
  10. wiilwaalka commented on Mar 22, 2026

    @wiilwaalka
    wiilwaalka
    on Mar 22, 2026
    More actions

    I could do this within proot-distro, but with a lazy start, and it just worked once. :(

    Image

    By using the Termux glibc packages, it runs efficiently in Termux without any proot overhead. However, I haven't thoroughly tested it yet; I've only tried to see if it functions. and it opens more faster than gemini last time i tried it.

    Image

    Image

  11. shc0743 commented on May 2, 2026

    @shc0743
    shc0743
    on May 2, 2026
    More actions

    we have had some discussions, if claude code works on termux opencode should be able to as well

    havnt looked into it enough to see what the issue is

    In fact you can simply use Claude Code on Termux by using:

    npm i -g @anthropic-ai/[email protected] && (cd "$PREFIX/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep"; ln -s arm64-linux/ arm64-android)

    Claude code v2.1.113+ uses native binary so it can't run on Android

    At least I think supporting Android is necessary since README mentions This, for example, can allow OpenCode to run on your computer while you drive it remotely from a mobile app, meaning that the TUI frontend is just one of the possible clients. On the one hand, if the only way to use OpenCode is inside a mobile app, not a real terminal, it sounds disappointing; on the other hand Claude Code can run in Android.

  12. rekram1-node commented on May 3, 2026

    @rekram1-node
    rekram1-node
    on May 3, 2026
    Member
    More actions

    opencode will be able to run just with node soon no longer having bun dep, which will resolve this issue for yall

    Reacted by Lucas Grzegorczyk, Amos Wong and Den le
    Reacted by Jean-Claude, imm, Bonveio Abitona and rayfadh
  13. bussard76
    added a commit that references this issue on May 12, 2026

    fix(den): accept bearer sessions for desktop auth (anomalyco#961)

    c6515f2
  14. furai commented on May 21, 2026

    @furai
    furai
    on May 21, 2026
    Contributor
    More actions

    So how is it looking on that node front? Is bun being removed or just it will be optional to use bun or node?

  15. guilt commented on Jun 29, 2026

    @guilt
    guilt
    on Jun 29, 2026
    More actions

    I'm here to +1 and say this is important for me; I know bun already has an Android version now, so really looking forward to a working version. When try this and report what I find.

  16. github-actions commented on Aug 28, 2026

    @github-actions
    github-actionsBot
    on Aug 28, 2026 – with GitHub Actions
    Contributor
    More actions

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  17. github-actions
    closed this as not plannedon Aug 28, 2026
  18. furai commented on Aug 28, 2026

    @furai
    furai
    on Aug 28, 2026
    Contributor
    More actions

    This is still very much relevant. @rekram1-node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @adamdotdevin
    adamdotdevin

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.