Run Devin Pocket on Android with Termux
Devin Pocket runs on Android through Termux and Ubuntu in proot. The zero-clone installer prepares Node.js, Devin CLI and Pocket, then creates a launcher. Start it from normal Termux and authorize your Devin account in the browser. The server stays on your phone; the PWA is its interface, not an offline agent.
Before you begin
- Android 7+ on ARM64 or x86_64, not a 32-bit device.
- Termux from its official GitHub releases. Optional Termux:Widget/API APKs must use the same source/signature.
- Internet and enough memory/storage for Ubuntu and tools. No Android root required.
Step by step
- 01
Open normal Termux
Install the Termux APK manually from the official releases. Do not run this installer inside Ubuntu/proot or as root. Review downloaded scripts before execution.
- 02
Run the zero-clone installer
It updates Termux, installs proot-distro, creates/reuses Ubuntu and installs Node.js 22+, tools and the official Devin CLI if missing. Existing launchers are preserved; Ubuntu is not deleted.
pkg update -y && pkg install -y curl && curl -fsSL https://raw.githubusercontent.com/BOTOOM/devin-pocket/main/install-termux.sh | bash - 03
Choose a source explicitly if needed
Default selection is the highest stable npm version at least seven days old. Only E404 falls back to main. If no version is old enough, explicitly select source or package. These modes are mutually exclusive.
curl -fsSL https://raw.githubusercontent.com/BOTOOM/devin-pocket/main/install-termux.sh -o install-termux.shbash install-termux.sh --helpbash install-termux.sh --source main --distro ubuntu --no-upgradebash install-termux.sh --package devin-pocket@0.2.0 - 04
Start Pocket, then sign in
The installer does not start or restart Pocket. The launcher enters Ubuntu with its PATH set. Open http://127.0.0.1:7777 and tap Inicia sesión en Devin / Sign in to Devin.
devin-pocket-ubuntudevin-pocket-ubuntu doctordevin-pocket-ubuntu logs - 05
Keep Android awake
Install the optional Termux:API APK from the same source and its package for best-effort wake lock. The installer creates ~/.shortcuts/Devin Pocket for Termux:Widget. Disable battery optimization; Android may still kill processes under memory pressure.
pkg install termux-api
Keep in mind
- --no-upgrade skips general upgrades, not prerequisites. --distro chooses an Ubuntu name (default ubuntu); another distribution is rejected by this installer.
- Stop a running Pocket instance safely before reinstalling. --package also accepts an HTTPS tarball URL or an existing local .tgz. Source builds require extra time and resources.
- For a manual glibc setup, Ubuntu/Debian via proot may be needed by the CLI; the automated installer specifically requires Ubuntu.
Source of truth: the Devin Pocket README and implementation.
README