To turn Termux into a development machine, install these core tools:
pkg install git wget curl nodejs python man nano vim -y
Before we go wild, let’s get comfortable. Termux uses a standard Linux filesystem.
| Command | Action | Example |
| :--- | :--- | :--- |
| pwd | Print working directory | Shows you are at /data/data/com.termux/files/home |
| ls | List files | ls -la (shows hidden files + details) |
| cd | Change directory | cd storage/downloads |
| mkdir | Make a new folder | mkdir my_project |
| rm | Remove a file | rm old_file.txt |
| cp | Copy a file | cp file1.txt file2.txt |
| mv | Move/Rename | mv oldname.txt newname.txt |
Pro Tip: You must use the volume-up key + Q to bring up a touch keyboard if you don’t have a physical one. Or install Hacker’s Keyboard for full Ctrl/Alt/Tab keys.
pkg install termux-api
termux-wake-lock
pkg install python
python -m http.server 8000 --directory ~/public
Access via Android browser at http://127.0.0.1:8000One of the biggest reasons people use Termux is for penetration testing and networking tools.
Termux is a bridge between the convenience of mobile and the power of Linux. Whether you are a programmer wanting to code on the go, a network administrator needing to troubleshoot a server via SSH, or a student learning Linux commands, Termux is the ultimate tool.
Start small: update your packages, learn to navigate directories, and gradually move on to installing tools and scripts. Before you know it, you'll be running a full development environment right from your pocket. termux complete tutorial
Happy Coding!
Termux is a free, open-source Android terminal emulator that provides a minimal Linux environment. Because it runs in "user space," it does not require root access to function. 1. Getting Started & Installation
To ensure you get the most up-to-date version with full package support, it is recommended to download Termux from F-Droid rather than the Google Play Store.
Initial Setup: After installing, run pkg update and pkg upgrade to ensure all base system components are current.
Storage Access: To allow Termux to interact with your phone's internal storage (like photos or downloads), run:termux-setup-storage. 2. Core Package Management
Termux uses a package manager called pkg (a wrapper for apt) to install software. Search for tools: pkg search Install a tool: pkg install List installed packages: pkg list-installed Recommended first installs: python: For running scripts. git: To clone repositories from GitHub. nano or vim: Text editors for writing code or scripts. openssh: For secure remote access. 3. Essential Basic Commands To turn Termux into a development machine, install
Since Termux is a Linux environment, it uses standard Linux commands for navigation and file management: ls: List files in the current directory. cd: Change directory. mkdir: Create a new folder. cp / mv: Copy or move files. rm: Remove/delete files. pwd: Show your current working directory. 4. Advanced Use Cases
Termux can transform your phone into a portable development station:
Coding: You can host a local code-server to use a VS Code-like interface in your mobile browser.
Networking: Use tools like ping, ifconfig, and curl for network testing and data retrieval.
Automation: Write and run Bash scripts to automate repetitive tasks on your device.
Ethical Hacking: Many security professionals use it for mobile penetration testing and network auditing. Getting started - Termux Wiki Before we go wild, let’s get comfortable
What if I told you the smartphone in your pocket already has the potential to be a full-fledged Linux development environment? No rooting. No custom ROMs. Just an app from the Play Store.
That app is Termux.
Termux is a terminal emulator and Linux environment for Android. It allows you to run command-line tools, SSH into servers, write Python scripts, compile C code, install web servers (like Apache or Nginx), and even run VS Code—all directly on your phone.
In this Termux Complete Tutorial, we will go from absolute zero (installing the app) to building a local web server and running a hacking tool.
Turn your phone into a mini web server instantly:
pkg install python
python -m http.server 8080
Open your phone’s browser and go to http://localhost:8080. You’ll see the files in your current directory.