One-shot setup for a fresh Termux install: Claude Code, shell, and (optionally) the chafa/timg/mpv terminal-media stack.
No LD_PRELOAD shim — that workaround is only needed on a quirky kernel and
isn't applied here.
pkg install -y git
git clone https://github.com/RedaKarimi/termux-bootstrap.git
cd termux-bootstrap
./setup.sh # core: Claude Code + zsh + tools
./setup.sh full # also chafa/timg/mpv/ffmpeg for terminal videoAfter it finishes:
- Exit Termux and reopen so zsh starts.
claude— sign in to Claude Code.- (Optional)
ssh-keygen -t ed25519and add the pubkey to GitHub if you want to usegh/gitover SSH.
pkg update && pkg upgrade- Installs core:
git openssh gh rsync curl wget unzip nodejs python zsh termux-api inotify-tools npm install -g @anthropic-ai/claude-code- oh-my-zsh + zsh-autosuggestions + zsh-syntax-highlighting
- Adds a marker block to
~/.zshrc(idempotent — re-running won't duplicate). fullprofile additionally installschafa timg mpv ffmpeg libsixel, drops a tuned~/.config/mpv/mpv.conf, writes the~/.local/bin/mpv-fswrapper, and adds aliasesimg/gif/play/playmute/tplay/tshowplus theANI_CLI_PLAYER=mpv-fsenv so ani-cli plays in-terminal.