/ guides

Guides

Practical how-tos: installation, customization, troubleshooting, and migration.

Installation

Requires a working Termux on aarch64, arm64, amd64 or i686. The installer uses only bash and standard Termux tools:

bash <(curl -fsSL https://raw.githubusercontent.com/Vaizer0/zero-termux/main/install.sh)

What it does, step by step:

  1. Verifies and installs dependencies: tput git glow gh rg jq bat curl.
  2. Creates the Zero-Termux directories under $HOME / $PREFIX.
  3. Clones this repository (or pulls updates on re-run).
  4. Symlinks the zero command into $PREFIX/bin/zero.
  5. Adds the signed APT repository (sources list + GPG key) and runs apt update.
  6. Saves the configuration (zero_data, zero_cache, zero_config, zero_source, zero_tool_data).
  7. Prints a summary with next steps.
Offline check The installer needs network access to GitHub and the GPG-signed repo. If apt update fails, verify connectivity; the repo is served from GitHub Pages.

Customization

Updating

WhatCommand
Frameworkzero update zero (git pull; the installer also updates)
One modulezero update <module> [--tool …]
APT packagesapt update && pkg upgrade

Troubleshooting

SymptomFix
zero: command not foundCheck the symlink: ls -l $PREFIX/bin/zero; re-run the installer.
curl: command not foundpkg install curl first.
apt update fails on the repoConnectivity to vaizer0.github.io; re-check the sources line and key file.
Whole-module install is slowExpected for ai (1–2 h). Install per-tool instead.
Tool version looks staleRolling tools resolve latest at install time; zero update <module> re-resolves.
GPG verify failsRe-download the public key from https://vaizer0.github.io/zero-termux/zero-termux.gpg; fingerprint DF2C7FCD…C494.
Broken tool installzero reinstall <module> --<tool>.

Migration from an earlier setup

Zero-Termux keeps its own layout and does not overwrite an existing ~/.zshrc, npm global prefix, or project configs — the shell module appends its own setup rather than replacing yours. Notes: