Programming on your Phone
June 23, 2019
What is Termux?
Termux is a Terminal Emulator which can be used on Android.
“Start by answering the Whys”- Simon Sinek
- Light Weight(few kilobytes)
- Works same as the Bash in Linux
- Open Source
- Has a package manager/repository
- Supports many Packages and Compilers
- Can use the full potential of phone’s computing power
Super handy(for devs) while travelling or related tasks
Termux can be installed from Google Play or F-Droid. We can simply install it from either of these sources and it’ll work on-the-go.
Setting Up Termux
Accessing the Termux file system is a tedious one and is hard to find(for me) but we can provide acces to termux to our internal storage by going to
setting<apps<termux<permissions Toggle the permission for storage to ON state. Or, you can provide access by running
termux-setup-storage and you can access the file system.
Termux has a sleek package manager which is constantly improved by the community. It has almost all packages we can find on Linux distributions and repositories. We can install packages by calling
pkg install <package_name> . We can see a list of all the arguments to be used with
pkg by running
Here,I’ll show an example on how to install git and neovim with Termux
pkg install git
pkg install neovim
Its that simple.
There might be a problem with the
curlcommand and we can resolve it by running
We can install Node,Python and C packages too,using
What can we do
- We can use version control using Git
- We can edit files using Neovim or Nano
- We can run servers with python or npm
- We can get a new session by sliding from the left
PS. I made this blog and related setup on Phone using Termux
Personal Blog of Athul Cyriac Ajay who is an Undergraduate Engineering Student in College of Engineering Kidangoor, a GitHub Campus Expert and a Python, Js lover.
You can find him on