cursor-termux
Stack: Shell, Node, Termux
What
Unofficial installer for the official Cursor Agent CLI on Termux (Android aarch64 / Bionic). Public npm/git glue for one machine’s needs — tree-sitter stubs, Termux-X11-safe env. Not a generic “any Android” product. Not affiliated with Anysphere / Cursor. The agent binary is proprietary; this repo only ships Termux glue.
How it works
- npm package
bruk-cursor-termux(bct). Downloads the current CLI, patches glibc ELFs, smoke-tests. - Symlinks Termux
nodeandrgover bundled glibc binaries. - Launcher-only
LD_LIBRARY_PATH— not exported from~/.bashrc, so Termux-X11 stays intact. - After
cursor-agent update, re-runbct --patch-only(new version dirs have no patches).
Status
Usable on ARM64 Termux. Limits from upstream: tree-sitter is a JS stub (weaker shell AST); some natives stubbed; sqlite rebuild can fail and the agent still runs. ARM64 Termux only.
Screenshots
No screenshot yet.
Get it
- Source: github.com/brukberhane/cursor-termux
- CRT:
get cursor-termux(installer is npm, not a site binary)
pkg install nodejs-lts clang make python git curl ripgrep pkg-config binutils
npm install -g bruk-cursor-termux
bruk-cursor-termux
hash -r
source ~/.bashrc
NO_OPEN_BROWSER=1 cursor-agent login