Installation Guide
Quick setup instructions for Python and Node.js dual environments on Android Termux
1. One-Touch Automated Installer (Recommended)
The automated installer configures Termux system packages, compiler toolchains, Python SDK, Node.js CLI, and prompts for optional model downloads:
# In Android Termux:
curl -sSL https://raw.githubusercontent.com/uno-km/termux-vision/main/install.sh | bash
2. Manual PyPI Installation (Python)
# 1. Update Termux packages & install Python/NumPy:
pkg update && pkg install -y python python-numpy git libjpeg-turbo termux-api
# 2. Install termux-vision from PyPI:
pip install termux-vision
3. Manual npm Installation (Node.js / TypeScript)
# 1. Install Node.js:
pkg update && pkg install -y nodejs
# 2. Install globally:
npm install -g termux-vision
# 3. Or run directly without installation via npx:
npx termux-vision doctor
4. Verification & Diagnostics
# Verify hardware and Vulkan GPU acceleration:
termux-vision doctor --probe-vulkan
# List installed VLM models:
termux-vision model list