Termux: Android Terminal Emulator for Linux
Termux turns an Android phone into a real Linux command line, with apt-based package management instead of a locked-down sandboxed shell. Reach for it if you want SSH, Python, or a build toolchain in your pocket without rooting the device. Skip it if you're on Android 12 or newer and can't tolerate the OS killing background processes mid-task.
What Termux Offers
Termux is an Android terminal application paired with a real Linux environment, maintained separately from the termux-packages repo that supplies its installable software. It gives you a shell, a package manager, and standard Unix tools directly on the phone, without needing root access. The app itself only handles the terminal emulator and UI — everything you install inside it comes from the separate packages project.
Extending Termux with Plugins
- ✓apt and pkg pull packages in from termux-packages, so you're not stuck with whatever ships in the base install
- ✓Termux:API turns Android sensors, the clipboard, notifications, and other OS features into shell commands you can script against
- ✓Termux:Boot fires scripts automatically at device startup, useful for cron-like jobs
- ✓Termux:Float keeps a floating terminal window on top of other apps
- ✓Termux:Widget adds home-screen icons that launch a specific script with one tap
- ✓Termux:Styling swaps color schemes and fonts for the terminal
- ✓Termux:Tasker lets Tasker automation events trigger Termux commands
Strengths
- ✓Real apt/pkg package management instead of a sandboxed toy shell — you install actual Linux tools, not a fixed command list
- ✓Plugin apps (API, Boot, Float, Widget, Tasker, Styling) extend the core terminal into device automation without root
- ✓No root required — SSH, Python, and CLI tools work out of the box.
- ✓Shipped a fast fix for a disclosed world-readable vulnerability (jumped to v0.118.0), showing security issues do get patched
Known Issues and Android Compatibility
- △Android 12+ can silently kill background/phantom processes past a limit of 32 combined across all apps, so long-running shell jobs may die with a signal 9 message without you exiting the shell yourself (per issue #2366)
- △APKs from F-Droid, GitHub, and Google Play are signed with different keys, so you can't mix sources — switching means uninstalling every Termux and plugin APK first
- △GitHub build APKs are signed with a publicly shared test key, so anyone can forge a look-alike release; only trust builds fetched directly from the termux/termux-app repo
- △The Google Play build is explicitly experimental, requires Android 11+, and the README says it has missing functionality and bugs compared to the F-Droid build
- △F-Droid updates can lag GitHub releases by days or even weeks since F-Droid rebuilds and signs them independently
- △The README says the project is looking for Termux Android application maintainers, so don't assume a large, well-staffed team behind every release
Installing Termux
Termux needs Android 7 or newer for full app-and-package support; on Android 5 or 6 you can still install the app itself (restored via a later pull request) but without package updates. Pick exactly one install source and stick with it: F-Droid ships a universal APK (about 180MB with bootstrap) and is the source most users are pointed to; GitHub Releases and GitHub Actions artifacts offer both a universal build and smaller architecture-specific builds (about 120MB) — use the apt-android-7 variant for Android 7+; Google Play has an experimental build for Android 11+ only, built from a separate termux-play-store repo, with functionality gaps versus F-Droid. The README says the latest version is v0.118.3, and pushes updating to v0.118.0 or newer immediately because of a critical world-readable vulnerability that was publicly disclosed. Because F-Droid, GitHub, and Play builds use different signing keys, switching sources means uninstalling every existing Termux and plugin APK first.
Other Android Terminal Emulators
Common Questions About Termux
Termux can be unstable on Android 12 and newer because the OS kills phantom or excessive-CPU background processes once more than 32 are running across all apps combined, which can end a shell session with a signal 9 message even though you never exited it (tracked in issue #2366).
Termux is available from F-Droid, from GitHub Releases and GitHub Actions build artifacts, and from an experimental Google Play build for Android 11 and up; each source signs its APK differently, so pick one and stick with it.
Termux and its plugin apps must all come from the same source because they share the Android sharedUserId com.termux and need matching signing keys — mixing an APK from F-Droid with one from GitHub or Google Play will fail to install or update.
Uninstalling Termux completely means removing every plugin APK too — Termux:API, Termux:Boot, Termux:Float, Termux:Styling, Termux:Tasker, and Termux:Widget — via Android Settings > Applications, since leftover plugin apps can conflict with a fresh install from a different source.
Termux exposes a Log Level setting (Off, Normal, Debug, Verbose) under app settings > Debugging, and the terminal's long-press menu has a Report Issue option that bundles file stats and a logcat dump for you to attach to a bug report.
Termux has an experimental Google Play build for Android 11 and newer, built from a separate termux-play-store repository, and the README says it still has missing functionality and bugs compared to the F-Droid release.
The problem it solves
Android doesn't ship a real shell, and most 'terminal' apps on the Play Store are toy demos with no package manager behind them. Termux fills that gap by pairing a genuine terminal emulator with apt-based package management pulled from its own termux-packages repo, so you get an actual Linux userland, not just a text box that runs `ls`.
Best use cases
- •Running SSH into remote servers from your phone when you don't have a laptop handy
- •Scripting Android automation with Termux:Tasker or Termux:Boot so tasks fire on a schedule or at boot, without a rooted device
- •Using Termux:API to read sensors, battery state, or the clipboard from shell scripts for quick sensor-logging or notification hacks
- •Learning or practicing Linux command-line tools (Python, git, package builds) on hardware you already carry
- •Field debugging with a phone-based shell when a laptop isn't available and you just need pkg-installed tools
Who should try it — and who should skip
Try Termux if you're an Android user who wants a real Linux shell for SSH, scripting, or carrying dev tools without rooting the phone — the plugin apps make it genuinely useful for automation, not just a novelty. Skip it if you're stuck on Android 12+ and need long-running background jobs, since the OS's phantom-process killing (issue #2366) will interrupt them; also skip it if you expect Google Play-app levels of polish, since the README flags the Play build as experimental with functionality gaps.
Related repositories
Still deciding about termux-app?
One click hands the question to an AI along with this page — see what it says about termux-app.
