Termux Command List: Essential Commands for Beginners & Pros
If you’ve ever wanted to use Linux tools directly on your Android phone, Termux is the app that makes it possible. It turns your smartphone into a powerful command-line environment where you can run Linux utilities, install programming languages, and even host lightweight servers. Whether you’re a beginner experimenting with the terminal or an advanced user doing development work on Android, knowing the right commands can save time and prevent errors.
This Termux Command List is designed to be simple, practical, and beginner-friendly while still covering essential commands used by developers and power users. Instead of dumping random commands, this guide explains what each command does and when to use it. You’ll learn how to update Termux, manage packages, work with files and folders, check system information, and handle networking tasks. All commands listed here are commonly used, safe, and relevant for daily Termux usage. If you’re serious about learning Linux on Android, this guide is a solid place to start.
What Is Termux and Why Use It?
Termux is an Android terminal emulator combined with a Linux package manager. It allows you to install tools like Git, Python, Node.js, and OpenSSH without rooting your device. Developers use Termux for coding, students use it to learn Linux commands, and power users rely on it for automation and troubleshooting.
Basic Termux Commands for Beginners
Essential Termux Commands to Get Started
termux-change-repo– Change or fix Termux repositoriesclear– Clear the terminal screenexit– Close the Termux sessionpwd– Show current working directorywhoami– Display current user
These basic Termux commands help you navigate and control the terminal environment easily.
Package Management Commands in Termux
Termux Package Manager Commands (APT)
pkg update– Update package listpkg upgrade– Upgrade installed packagespkg install package-name– Install a packagepkg uninstall package-name– Remove a packagepkg search keyword– Search available packages
The pkg command is a wrapper around APT, optimized for Termux and safer for beginners.
File and Directory Commands in Termux
Linux File Management Commands in Termux
ls– List files and folderscd folder-name– Change directorymkdir folder-name– Create a new folderrm file-name– Delete a filerm -r folder-name– Delete a foldercp source destination– Copy filesmv old-name new-name– Move or rename files
These commands are essential for managing files in Termux just like a Linux system.
Storage Access Commands
Access Android Storage in Termux
termux-setup-storage– Grant storage permissioncd storage/shared– Access internal storagecd storage/downloads– Access Downloads folder
If apps are crashing or not opening properly on Android, you may also find this guide helpful:
👉 https://www.techondev.com/2026/01/fix-android-app-not-opening.html
Networking and Internet Commands
Network-Related Termux Commands
ping google.com– Check internet connectivityifconfig– View network interfacescurl url– Fetch data from a URLwget url– Download files
Official documentation for networking tools can be found on the Termux GitHub page.
Download link (official):
https://github.com/termux/termux-packages
System Information Commands
Check Device and System Info in Termux
uname -a– Kernel and system informationdf -h– Disk usagetop– View running processesfree -h– Check memory usage
These commands help monitor system performance directly from Termux.
Developer-Focused Termux Commands
Programming and Development Commands
git clone repo-url– Clone Git repositoriespython script.py– Run Python scriptsnode app.js– Run Node.js appsnpm install package-name– Install Node packages
Official Termux documentation:
https://termux.dev
FAQ: Termux Command List
Is Termux safe to use on Android?
Yes, Termux is safe when downloaded from official sources like GitHub or F-Droid and used responsibly.
Do I need root access to use Termux?
No, Termux works without root and provides a user-space Linux environment.
Why do some commands not work in Termux?
Some Linux commands require root or kernel-level access, which Termux cannot provide.
Can Termux replace a Linux PC?
For learning, scripting, and lightweight development, yes. For heavy workloads, a PC is still better.
Final Thoughts
This Termux Command List covers the most useful commands for beginners and advanced users alike. Learning these commands will help you unlock the real power of Linux on Android and use Termux efficiently for development, troubleshooting, and automation.

Comments
Post a Comment