Prerequisites
- Install Termux from F-Droid
- Open Termux and run
termux-setup-storage(required for storage permissions) - Ensure you have a stable internet connection
Step 1 — Run the bootstrap
Open Termux and paste this single command:Step 2 — Answer the prompts
The installer walks you through 8 steps with yes/no prompts:| Prompt | Recommendation |
|---|---|
| Install tmux? | ✅ Yes — keeps sessions alive |
| Install ttyd (web terminal)? | Optional |
| Install dufs (file server)? | Optional |
| Install android-tools (adb)? | ✅ Yes — useful for debugging |
| Install code-server (browser IDE)? | Optional |
| Install OpenCode (AI assistant)? | Optional |
| Install Claude Code CLI? | Your choice |
| Install Gemini CLI? | Your choice |
| Install Codex CLI? | Your choice |
| Install Qwen Code CLI? | ✅ Yes — works great on Android |
| Setup SSH server? | ✅ Yes — for remote access |
| Setup Termux:Boot auto-start? | ✅ Yes — for 24/7 operation |
| Install Termux:API tools? | Optional |
Step 3 — Verify installation
Step 4 — Start the gateway
http://127.0.0.1:18789/
What’s next?
SSH Remote Access
Connect to your Android server from your PC
AI CLI Tools
Set up Claude Code, Qwen Code, Gemini CLI
Auto-start on Boot
Keep OpenClaw running 24/7
Troubleshooting
Fix common install errors