Skill Tracer
Skills › Scientific Agent Skills › pi-agent › termux.md

termux.md

33 lines · skills/pi-agent/references/termux.md at 5f2bc03

Open on GitHub

Most marks come from matching words in the file, so treat them as pointers.

1# Termux Setup
2
3Source: https://pi.dev/docs/latest/termux
4
5Reviewed against Pi 0.99.2 and the package versions listed in `../SKILL.md` on 2026-09-30.
6
7Pi runs on Android through Termux.
8

Termux Setup

Source: https://pi.dev/docs/latest/termux

Reviewed against Pi 0.99.2 and the package versions listed in ../SKILL.md on 2026-09-30.

Pi runs on Android through Termux.

Raw lines 1 to 8
9## Prerequisites
11Install Termux from GitHub or F-Droid, not Google Play. Optionally install Termux:API from the same distribution source as Termux for clipboard and device integrations.

Prerequisites

Install Termux from GitHub or F-Droid, not Google Play. Optionally install Termux:API from the same distribution source as Termux for clipboard and device integrations.

Raw lines 9 to 12
13## Install
15```bash
16pkg update && pkg upgrade
17pkg install nodejs termux-api git
18npm install -g --ignore-scripts @earendil-works/pi-coding-agent
19mkdir -p ~/.pi/agent
20pi
21```

Install

pkg update && pkg upgrade
pkg install nodejs termux-api git
npm install -g --ignore-scripts @earendil-works/pi-coding-agent
mkdir -p ~/.pi/agent
pi
Raw lines 13 to 22
23## Clipboard
25Pi uses `termux-clipboard-set` and `termux-clipboard-get` when available. Image clipboard is not supported in Termux.

Clipboard

Pi uses termux-clipboard-set and termux-clipboard-get when available. Image clipboard is not supported in Termux.

Raw lines 23 to 26
27## Useful `AGENTS.md` Context
29Add Termux environment notes to `~/.pi/agent/AGENTS.md`: OS is Android/Termux, home is `/data/data/com.termux/files/home`, prefix is `/data/data/com.termux/files/usr`, shared storage is `/storage/emulated/0`, use `termux-open-url`, `termux-open`, `termux-share`, `termux-notification`, and clipboard commands where appropriate.

Useful AGENTS.md Context

Add Termux environment notes to ~/.pi/agent/AGENTS.md: OS is Android/Termux, home is /data/data/com.termux/files/home, prefix is /data/data/com.termux/files/usr, shared storage is /storage/emulated/0, use termux-open-url, termux-open, termux-share, termux-notification, and clipboard commands where appropriate.

Raw lines 27 to 30
Project instruction file AGENTS.md :27
31## Limitations and Troubleshooting
33No image clipboard. Some optional native binaries may be unavailable on Android ARM64. Run `termux-setup-storage` once for `/storage/emulated/0`. If `pi` is not found, open a fresh shell, check `npm prefix -g` and `command -v pi`, then ensure the global npm binary directory is on PATH.

Limitations and Troubleshooting

No image clipboard. Some optional native binaries may be unavailable on Android ARM64. Run termux-setup-storage once for /storage/emulated/0. If pi is not found, open a fresh shell, check npm prefix -g and command -v pi, then ensure the global npm binary directory is on PATH.

Raw lines 31 to 33