Skip to content

CLI misdetects Android/Termux environment as Linux #21043

@equitablememe

Description

@equitablememe

Description

Android/Termux environments are currently treated as standard Linux in the CLI launcher.

This can lead to runtime failures due to incompatible binaries.

A detection check should be added to identify Android/Termux environments early and exit with a clear unsupported message.

Plugins

No response

OpenCode version

No response

Steps to reproduce

  1. Run the CLI in an Android/Termux environment
  2. Observe that the system treats it as standard Linux
  3. Attempt to execute CLI commands
  4. Notice failures or incompatible binary behavior

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions