workerd icon indicating copy to clipboard operation
workerd copied to clipboard

Support for Wrangler CLI on Termux (Android) Environment

Open rjriajul opened this issue 1 year ago • 3 comments

Describe the solution

I would like to request official support for running and installing the Wrangler CLI in the Termux environment on Android. Currently, installing Wrangler via npm or other package managers in Termux fails due to native dependencies that expect a standard Linux system or Android NDK, which are not available in Termux. Many developers use Termux to code on mobile devices, and official support or a compatibility guide for Wrangler would make Cloudflare Workers more accessible to this community.

Considered drawbacks:

  • Wrangler and its dependencies (such as cpu-features, glibc-version, kerberos, etc.) rely on native code builds that assume a conventional Linux environment, so adding Termux support may require significant adaptation or patching.
  • Some features may be limited if certain dependencies cannot be ported or emulated on Android.

Still, providing official guidance, partial support, or prebuilt binaries would be a big improvement for Termux and Android-based developers who want to use Wrangler.

rjriajul avatar Jun 03 '25 18:06 rjriajul

It would be awesome to see android support.

ajcates avatar Jun 13 '25 15:06 ajcates

Yes it would be very helpful for Android coders.

AmmarAwaisi avatar Oct 20 '25 02:10 AmmarAwaisi

so far, Wrangler v2 still works fine on terrmux

subekuy avatar Oct 22 '25 07:10 subekuy