- Termux is an terminal emulator for Android which you can use for running Linux commands on your phone.
- First download termux from Google Play Store or from github/f-droid.
Open termux and run the below commands to update package index and install nginx
pkg update
pkg install nginx
pkg install termux-services