DEV Community

Eugene Yakhnenko
Eugene Yakhnenko

Posted on Edited on

Using TTT as Code Editor and IDE on Android

Android is a surprisingly capable platform for software development. With Termux, you can run Go, Node.js, Git, language servers, and even AI coding agents directly on your device.


TTT (Terminal Text Tool) is an open-source, non-modal terminal code editor and IDE that runs natively on Android through Termux.

It provides many of the features you would expect from a desktop IDE:

  • Syntax highlighting and LSP integration
  • Integrated terminal and resizable panels
  • Project-wide search and file navigation
  • Git integration and GitHub pull request reviews
  • Mouse support and familiar keyboard shortcuts
  • Lua plugin system

Installing TTT on Android

Install Termux from F-Droid or GitHub, then follow the installation instructions in the TTT README.

Alternatively, download the Android ARM64 binary from the GitHub releases page, make it executable, and move it into your PATH.

chmod +x ttt
mv ttt $PREFIX/bin/ttt
ttt
Enter fullscreen mode Exit fullscreen mode

Setting up a development environment

For Go and TypeScript development, install the necessary tools directly through Termux:

pkg update
pkg install golang nodejs-lts git ripgrep
Enter fullscreen mode Exit fullscreen mode

Install language servers for code completion, diagnostics, and navigation:

go install golang.org/x/tools/gopls@latest
npm install -g typescript typescript-language-server
Enter fullscreen mode Exit fullscreen mode

Make sure your Go binaries are in your PATH:

export PATH="$HOME/go/bin:$PATH"
Enter fullscreen mode Exit fullscreen mode

The experience

I've been testing TTT on a TCL NXTPAPER 14 Android tablet with a physical keyboard and mouse, and the experience is remarkably close to using a conventional desktop development environment.

Touchscreen interaction is limited, so a keyboard and mouse are recommended.

Everything runs locally. No remote server, root access, or separate Linux distribution is required.

GitHub: https://github.com/eugenioenko/ttt

Top comments (0)