How to Access and Use the Linux Terminal on Android 16
Android 16 is the Android release Google launched in June 2025, and on supported Pixel phones it includes something new: a built-in Linux Terminal app. It runs a full Debian Linux virtual machine using the Android Virtualization Framework, so you can use real Linux command-line tools without rooting your phone or installing a third-party emulator. Here is how to turn it on, what it can do, and what to use if your phone does not have it.
Does Android 16 include a Linux terminal?
Yes, on supported devices. The Linux Terminal first appeared on Pixel phones in a March 2025 update for Android 15 and became part of Android 16. It is optional and hidden in Developer options. It works on recent Pixel phones with the needed virtualization support, and other manufacturers can enable it on their devices too. It runs Debian inside an isolated virtual machine, separate from Android itself.
How do I turn on the Linux Terminal?
- Enable Developer options: open Settings > About phone and tap Build number seven times.
- Open Settings > System > Developer options.
- Find Linux development environment and turn it on.
- Open the Terminal app that appears in your app drawer.
- Tap Install and wait while it downloads the Debian image, roughly a few hundred megabytes.
When setup finishes, you get a Linux shell where you can run commands and install packages with apt.
What can I do with it?
You can run standard Linux commands such as ls, cd, mkdir, and cat, install tools like git, python3, or nodejs with sudo apt install, and run scripts. Files can be shared with Android through a shared folder, and you can forward network ports to test local servers. Google has been adding graphical app support and better storage options in later releases, so capabilities vary by version.
Basic commands to try
- pwd shows your current directory.
- ls lists files.
- cd folder changes directory.
- sudo apt update refreshes the package list.
- sudo apt install git installs Git.
- exit closes the session.
What if my phone does not have the Linux Terminal?
Use Termux from F-Droid or GitHub. It provides a Linux-like environment with its own package manager (pkg install git), works without root on most Android versions, and is the most popular alternative. The Play Store version of Termux has historically lagged behind, so the F-Droid build is usually recommended. UserLAnd is another option for running full Linux distributions.
Common problems
If the Linux development environment option is missing, your phone or Android version may not support it yet. If installation fails, check free storage and your connection, then try again. The virtual machine uses extra memory and battery while running, so close it when you are done.
Conclusion
On supported Pixel phones, Android 16 gives you a real Debian Linux terminal through Developer options. On other phones, Termux remains the easiest way to get a Linux command line on Android.
Frequently Asked Questions
Do I need root to use the Linux Terminal on Android 16?
No. It runs in a virtual machine and does not require root.
Can I run graphical Linux apps?
Support for graphical apps has been arriving in newer releases; on Android 16 the terminal is mainly command-line based. Check your version’s release notes.
Is the Linux Terminal on Samsung phones?
It depends on the manufacturer enabling it. Pixels were first; on other phones, use Termux if the option is missing.