| title | Quick Start |
|---|---|
| description | From zero to a running OpenClaw gateway in under 5 minutes. |
- Install Termux from F-Droid
- Open Termux and run
termux-setup-storage(required for storage permissions) - Ensure you have a stable internet connection
OCA works with multiple free AI providers β no credit card needed to get started.
| Provider | Free Models | Free Limit |
|---|---|---|
| GitHub Copilot | GPT-4.1, Claude Sonnet | 2,000/mo Β· 50/day |
| Gemini CLI | Gemini 2.0 Flash | 1,500 req/day |
| Groq | Llama 3.1, Gemma 2, Qwen | 14,400 req/day |
| OpenRouter | 50+ models (:free suffix) |
Varies |
| OpenCode/Zen | MiniMax, Kimi, GLM | 200 req/5hr |
β Full guide with setup instructions
Open Termux and first refresh the packages that curl links against:
pkg update -y && pkg upgrade -y
pkg install -y curl openssl libngtcp2 ca-certificatesIf you see CANNOT LINK EXECUTABLE "curl" or
SSL_set_quic_tls_transport_params, the Termux curl/OpenSSL packages are
out of sync. Run the two commands above, then run hash -r or reopen Termux.
Then paste this install command:
BOOTSTRAP="${TMPDIR:-/tmp}/oca-bootstrap.sh"
curl -fsSL https://raw.githubusercontent.com/PsProsen-Dev/OpenClaw-On-Android/master/bootstrap.sh -o "$BOOTSTRAP" \
&& bash "$BOOTSTRAP" \
&& [ -f "$HOME/.bashrc" ] && source "$HOME/.bashrc"This avoids the classic curl | bash && source ~/.bashrc trap: if curl
fails before downloading anything, bash can otherwise receive empty input and
return success, which makes the shell try to source a .bashrc that the
installer never created.
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 Termux:Boot auto-start? | β Yes β for 24/7 operation |
| Install Termux:API tools? | Optional |
On the OpenClaw platform, OCA automatically installs Homebrew (Linuxbrew) and the Go toolchain after the glibc runtime is ready. You do not need to answer separate prompts for them.
Why this is automatic:
glibc-runnerprovides the glibc dynamic linker required by standard Linux binaries on Android- OCA's Node.js/OpenClaw stack already depends on that glibc layer
- Homebrew and many
go installworkflows naturally belong on the same layer
Recommended post-install check:
source ~/.bashrc && brew --versionoca --statusExpected output:
[OK] OpenClaw gateway: running
[OK] Node.js v24.x.x (glibc, grun wrapper)
[OK] platform: linux
If you enabled Homebrew and Go during setup, reload your shell and verify them:
source ~/.bashrc && brew --version && go versionopenclaw startDashboard available at http://127.0.0.1:18789/
Connect to your Android server from your PC Set up Claude Code, Qwen Code, Gemini CLI Keep OpenClaw running 24/7 Fix common install errors