A powerful Bash script to manage Termux environments, package managers, backups, and development setups.
- 🔄 Switch between apt and pacman package managers
- 💾 Backup & restore Termux environments
- 🛠️ Setup complete development environment
- 🛠️ Setup complete gui environment
- 📦 Add extra repositories (TUR, glibc, X11, root)
- 📱 Supports all Termux architectures (arm, aarch64, x86, x86_64)
- Ensure you have Termux installed
- Run the following commands:
curl -LO https://raw.githubusercontent.com/thetechstoner/termux-manager/main/termux-manager.sh
chmod +x ./termux-manager.sh
bash ./termux-manager.sh
Run the script and select from the menu:
Termux Environment Manager
select a choice:
1) Restore Termux backup
2) Backup Termux
3) switch package manager in termux
4) Setup Termux GUI
5) Setup Build Environment
6) Add Repositories to Termux
7) Exit
- Choose between apt (default) or pacman-based environments
- Automatically downloads correct bootstrap for your architecture
- Creates compressed backups in
/sdcard/termux-backup.tar.gz
- Restores complete environments in
/sdcard/termux-backup.tar.gz
- Installs termux-x11 app
- Configures graphical environment
- Installs required packages
- Installs essential tools (git, compilers, etc.)
- Configures proper environment variables
- Sets up paths for development
- Termux app
- Internet connection
- will automatically grant Storage permission
- will automatically install missing packages
Pull requests are welcome. For major changes, please open an issue first to discuss what you'd like to change.
Note: This script modifies core Termux files. Use with caution and always maintain backups.