Skip to content

debojitsantra/PocketDevTermux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PocketDevTermux

License: MIT Platform: Termux Shell: Bash Version No Root Maintained

PocketDevTermux turns Termux into a complete mobile development workstation. Install programming languages, tools, editors, AI coding assistants, and a full Linux container all from one interactive installer.

Demo

PocketDev Demo

Requirements

  • Android 7.0 or higher
  • Termux installed from F-Droid (recommended) or Play Store

Installation

curl -O https://raw.githubusercontent.com/debojitsantra/PocketDevTermux/main/pocketdev.sh && bash pocketdev.sh

Why this exists ?

Setting up programming tools in Termux manually can take a long time. PocketDev automates the process and installs everything needed for development in one interactive setup.


Developer Profiles

Run the script and pick one or more profiles. You can combine them freely.

# Profile What gets installed
1 Python Python 3, pip, ipython, black, pylint, rich, requests, httpx, virtualenv
2 Web Node.js, live-server, eslint, prettier, nodemon, TypeScript, ts-node
3 C / C++ Clang, GCC, Make, CMake, GDB, binutils
4 Java OpenJDK 17, Gradle, Maven
5 Kotlin OpenJDK 17, Kotlin compiler
6 Rust rustup, rustc, cargo
7 DevOps / Shell zsh, tmux, jq, shellcheck, ripgrep, fd, bat, lsd
8 Go Go toolchain, air (hot reload)
9 Polyglot All of the above

Multiple profiles can be selected at once:

Enter profile number(s): 1 3 7

Optional Features

AI Coding Assistant

Choose from three CLI AI tools:

  • aichat — supports GPT, Claude, Gemini, and Ollama backends
  • tgpt — no API key required, uses free public backends

Linux Container

Installs proot-distro and sets up a full Linux rootfs.

Enter the container:

linux

Optional bootstrap installs build-essential, git, python, and Node.js inside the container automatically.

Project Templates

Installs a newproject command that scaffolds complete project structures with config files, .gitignore, build files, and a working example. Each project is auto-initialized as a git repository.

newproject python   my-app
newproject flask    my-website
newproject express  my-api
newproject c        my-tool
newproject rust     my-crate
newproject go       my-service

Run newproject with no arguments to see all available templates.


Terminal Editors

Option Notes
micro Ctrl+S save, Ctrl+Q quit. Closest to a normal editor.
nano Simple, minimal learning curve.
helix Modal editor with built-in LSP support.
vim Classic. Fast once learned.
neovim Modern vim with Lua configuration.

Resumable

The installer tracks every installed package in ~/.pocketdev_state. Re-running the script skips everything already installed, so it is safe to run again to add more profiles.


Uninstalling

removes exactly what was installed.

bash <(curl -sSL https://raw.githubusercontent.com/debojitsantra/PocketDevTermux/main/uninstall.sh)

The uninstaller:

  • Reads ~/.pocketdev_state to identify installed packages
  • Falls back to a known package list if the state file is missing
  • Removes pkg, pip, and npm packages
  • Removes Rust, Go, Oh-My-Zsh, and proot containers
  • Strips all PocketDevTermux blocks from ~/.bashrc
  • Backs up ~/.bashrc before modifying it
  • Writes a full removal log to ~/pocketdev-uninstall.log

After running, the installer creates:

~/
├── projects/                 # starter projects, one per profile
├── linux.sh                  # enter proot container
├── .pocketdev_state          # install tracking
└── pocketdev.log             # install log

Logs

File Contents
~/pocketdev.log Full install log with timestamps
~/pocketdev-uninstall.log Full uninstall log
~/.pocketdev_state Tracked installed packages

License

MIT License. See LICENSE


Recommended Android Apps

Code editors:

Learning Resources

Contributors

Languages