Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

termux-bootstrap

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.

Run

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 video

After it finishes:

  1. Exit Termux and reopen so zsh starts.
  2. claude — sign in to Claude Code.
  3. (Optional) ssh-keygen -t ed25519 and add the pubkey to GitHub if you want to use gh/git over SSH.

What it does

  • 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).
  • full profile additionally installs chafa timg mpv ffmpeg libsixel, drops a tuned ~/.config/mpv/mpv.conf, writes the ~/.local/bin/mpv-fs wrapper, and adds aliases img/gif/play/playmute/tplay/tshow plus the ANI_CLI_PLAYER=mpv-fs env so ani-cli plays in-terminal.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages