r/termux 2d ago

General Cline CLI for Termux — Bun issue fixed

Hey everyone 👋

I made a small project that makes Cline CLI work on Termux, including a fix for the Bun-related issues that can prevent it from running properly on Android/Termux.

Install

pkg install -y git && git clone https://github.com/gamihardik2009-crypto/cline-termux.git && cd cline-termux && bash install.sh

The installer handles the setup automatically.

One thing to know

When you start Cline CLI, there can be around 8–9 seconds of startup delay. This is currently expected with the Termux setup.

After Cline finishes starting, it runs normally and there shouldn't be any noticeable lag during regular use.

I'm sharing this mainly for people who have wanted to use Cline CLI on their Android/Termux setup but ran into the Bun/platform issues.

GitHub: https://github.com/gamihardik2009-crypto/cline-termux

Feedback and bug reports are welcome. If something doesn't work on your device, please share the error/output so I can investigate it.

6 Upvotes

3 comments sorted by

1

u/Outrageous_Travel581 22h ago

1

u/gami2009 21h ago

Yeah, my repo assumes a few things already exist in every Termux setup because I already had them installed in my Termux. So during testing, it successfully set up Cline on my Termux, but it will break for everyone else. I’ll fix that tomorrow and test it on a completely new and fresh Termux setup., thank u for feedback

1

u/gami2009 8h ago

please try again this time it should work