My phone has been living a double life for the last couple of months. It looks and functions like any other Android phone, but once I fire up Termux or Google's native Linux terminal, and that same rectangle becomes something that most people have never seen a smartphone do — it stops being a consumer device and starts acting like a computer.

Android's Linux terminal has been giving me new reasons not to open my PC, and after spending some time with it, I can easily say it's one of my most capable computers at the moment. It might not be the most powerful, but it lets me do what none of my devices can, and that versatility can come in extremely handy for those who need it.

pixel in front of pixel desktop on monitor
I turned my Pixel into a desktop computer without buying anything extra

Google's desktop mode is free, surprisingly capable, and not quite done yet

A terminal turns Android into something entirely different

SSH, scripting, servers, and the Linux tools hiding behind your touchscreen

The most immediate upgrade a terminal on Android provides is access to tools that simply don't exist in any app store. There are things you can do with a Linux terminal on Android that no regular app can match.

The biggest difference between a terminal app and a Linux terminal on Android is that you're not just sending commands to Android, you're sending them to a full Linux distribution with a package manager. This means you can access desktop-grade tools and programs that just won't run on Android. Any Linux programs you should know about on PC will also work on your phone.

Termux is the most obvious example of this. It installs a minimal base system and lets you pull in extra tools with an APT-style package manager, without rooting your phone or using weird workarounds. You get access to shells like Bash and Zsh, compilers, debuggers, and editors such as Nano, Vim, and even Emacs, all running locally on the same device.

Once that works, your phone stops being just a phone. You can check out entire Git repositories, compile programs, or fire up entire development environments. You can do some pretty serious development work on your phone without needing a mobile IDE that simulates the aforementioned tasks with custom UIs and half-baked file access.

Then there's server management. Your old Android phone can host a better music server than you'd expect, and it'll behave exactly how you would expect a server running on desktop hardware to. You can also turn your Android into a Wi-Fi media server, a file-sharing server to replace Google Drive, and just about anything that can run on Linux and doesn't demand hefty hardware.

Side view of Navidrome running on Termux on Pixel 9a.
Yadullah Abidi / MakeUseOf

Termux can also run Jellyfin for media streaming, serve a personal webpage, run a torrent client, or act as an always-on node for home automation. You get all this functionality without ever having to root your device, and you can always go back to using it as a regular phone at a moment's notice.

If you're out and about, forgot to carry your laptop, and need a desktop for whatever reason, your Linux terminal can transform your phone into a fully functioning Linux desktop at a moment's notice. Installing Linux on my Pixel turned it into a workstation, and a rather useful one at that.

Termux can work with components like Termux-X11 to give you an X server on Android. Combine that with a PRooted Debian or Arch install, and suddenly you can launch a lightweight desktop environment such as XFCE, complete with panels, windows, and graphical apps.

Termux logo
OS
Android
Price model
Free, Open-source

Termux is an Android app that brings a full Linux terminal environment to your phone, letting you run command-line tools and packages natively.

One limitation holds it back

Why the terminal isn't as good as it can be on your phone

Now everything I've described above works reasonably well enough when you're working with just your phone, but Linux terminals (or terminals in general) weren't exactly built for tall, vertical screens. And the Android keyboard that works so well when you're using your phone as a phone isn't quite fit for terminal use. Besides, if you're doing anything serious, an external display is almost necessary.

That's not a small caveat. It's the core problem of using a terminal on Android.

My Pixel might be a fully functioning Linux workstation complete with a desktop, but I can't realistically use it for any serious work unless I add a keyboard, mouse, and an external display. That means carrying around at least a keyboard, mouse, and a USB-C hub with appropriate ports and hoping I find an external monitor wherever I am.

Even if you could make do with the smaller display, typing on a touchscreen is fundamentally different from how terminal workflows operate. Terminals work around speed and precision — tab completion, arrow key navigation, Ctrl shortcuts, command chaining, and more. On a phone keyboard, every one of those interactions is a friction point, not to mention the keyboard takes up half the screen, autocorrect can turn flags into typos, and anything involving a second key feels like a coordination puzzle. Even a basic Bluetooth keyboard can massively transform your experience here.

A smartphone screen displaying the Unexpected Keyboard active within a Termux terminal session.
Credit: Oluwademilade Afolabi / MakeUseOf

One of the selling points of having Linux on your Android is to have a terminal in your pocket. And while that's technically true, by the time you include a keyboard, mouse, a USB-C dock, and possibly even a portable external display, you're essentially carrying around a disassembled laptop.

The paradox is real: the more seriously you take your terminal on Android, the more peripherals you accumulate, and the less it resembles the minimal, always-in-your-pocket computer it was supposed to be. It's still just as capable, just a little harder to use.

Despite that, it's the most versatile computer I own

The surprising range of tasks a phone can handle once you unlock the command line

Despite that drawback, my Android is still my most capable computer. Yes, adding external peripherals can make the experience significantly better, but you can still power your way through when working on a phone. Peripherals are an added benefit here, not a hard requirement. It's not as big as a laptop, and it doesn't require peripherals the same way a Raspberry Pi does. If you've got something you need to run in a terminal and only your Android phone in your pocket, the only thing standing in your way is the lackluster typing experience.

Linux terminal on Pixel 9a.
I started using Linux terminal on Android and now I can do things no app store tool allows

My phone is more than a phone now.

1

Whether that's hosting servers, accessing SSH, transferring files, scripting your phone for automation, managing your homelab from anywhere, your Android can do it. It doesn't require you to carry a backpack as your laptop does; it doesn't require any specialized hardware; it just sits in your pocket, ready to pull that second job the moment you need it to.