Termux Setup Guide For Beginners
Learn how to properly set up Termux on Android with essential commands and beginner-friendly configuration steps.
Before You Start
Make sure you have:
- Latest version of Termux installed - Internet connection - At least 500MB free storage
If you have not installed Termux yet, read:
- How To Install Termux Safely
---
Update Termux Packages
First, update all existing packages.
bash
pkg update && pkg upgrade
Type:
bash
y
when asked for confirmation.
---
Setup Storage Access
Allow Termux to access your device storage.
Run:
bash
termux-setup-storage
Tap:
text
Allow
when Android asks for permission.
---
Install Basic Packages
Install some essential tools every beginner should have.
bash
pkg install git python curl wget nano -y
This installs:
- Git - Python - Curl - Wget - Nano editor
---
Change Repository (Optional)
If downloads are slow, change the package mirror.
bash
termux-change-repo
Select a nearby mirror for faster downloads.
---
Check Installed Packages
Verify everything is working:
bash
python --version
git --version
If version numbers appear, the setup is successful.
---
Useful Beginner Commands
List files:
bash
ls
Open a folder:
bash
cd folder-name
Create a folder:
bash
mkdir myfolder
Delete a file:
bash
rm file.txt
---
Common Error
Permission Denied
Run:
bash
termux-setup-storage
again and allow storage permission.
---
Final Thoughts
Your Termux environment is now ready for learning Linux commands, programming, and automation on Android.
Next steps:
- Install Python - Learn basic Linux commands - Setup Git and GitHub - Customize your terminal
Newsletter
Stay in the loop
Get new posts delivered straight to your inbox. No spam, unsubscribe anytime.
Related Posts
Best Termux Settings To Change First
Improve your Termux experience with these important settings every beginner should change after installation.
Best Termux Themes
Customize your terminal with the best Termux themes for a cleaner and more modern Linux experience on Android.
How To Install Termux Safely
Learn the safest way to install Termux on Android using trusted sources like F-Droid and GitHub.