Termux Complete Tutorial ^new^ Jun 2026
Simple, beginner-friendly command-line editor ( nano file.txt ).
Happy coding from your phone! 🚀
Here are some tips and tricks to help you get the most out of Termux: termux complete tutorial
Termux provides a row of keys (like Ctrl, Alt, Tab, and Esc) above your standard mobile keyboard. Swipe this row left or right to view more functional keys. Getting Stylish with Termux:Style
Install Ubuntu or Kali Linux via proot-distro to get a complete desktop-like Linux environment on your phone. Some users run XFCE with Termux:X11 for a graphical Linux desktop on Android. Simple, beginner-friendly command-line editor ( nano file
| Problem | Solution | |---|---| | | You likely installed from Google Play Store. Uninstall and install from F-Droid or GitHub instead | | Package downloads are very slow | Run termux-change-repo and select a mirror closer to your location | | Storage permission not working | Run termux-setup-storage again and verify permissions in Android Settings > Apps > Termux > Permissions | | sshd won’t start or connection refused | Make sure you’ve set a password ( passwd ) and that you’re connecting to port 8022. Also check that Termux has “Appear on top” permission in Android Settings | | Termux crashes after customization | Run git pull and re-run the customization script to update conflicting files | | Can’t install add-ons | All Termux apps and add-ons must be installed from the same source (all F-Droid or all GitHub—never mix sources), as they need to share the same signing key | | “Unsafe app” warning from Google Play Protect | This is a false positive. If you downloaded from the official F-Droid or GitHub repository, the app is safe to ignore the warning and install | | Command not found for basic tools | Install the required package: pkg install [package-name] |
pkg install python python-pip pip install --upgrade pip Swipe this row left or right to view more functional keys
| Command | Purpose | |---|---| | termux-battery-status | Display battery level and status | | termux-camera-photo | Take a photo using the camera | | termux-clipboard-get | Read from clipboard | | termux-clipboard-set "text" | Write to clipboard | | termux-dialog | Show GUI dialog boxes | | termux-notification | Send an Android notification | | termux-toast "message" | Show a short toast message | | termux-vibrate | Vibrate the device | | termux-wifi-connectioninfo | Get current Wi-Fi details | | termux-torch on/off | Control the flashlight |
apt update && yes | apt upgrade && apt update && apt install git fzf -y git clone https://github.com/remo7777/T-Header.git cd T-Header bash t-header.sh
ssh username@192.168.1.100 -p 22
: Write, compile, and run code (Python, Node.js, C/C++) anywhere.