Install¶
Requirements¶
- git installed and on your
PATH - macOS 12+, Linux (amd64/arm64), or Windows via Git Bash
twig has no other runtime dependencies. The interactive TUI is built in — no fzf or external picker needed.
macOS¶
To upgrade:
Linux¶
Install script¶
The script detects your architecture and installs the binary to the path specified by --to. Make sure that directory is on your PATH.
Manual¶
Download the binary for your architecture from the releases page, make it executable, and move it to somewhere on your PATH.
Windows (Git Bash)¶
twig works best inside Git Bash using the linux_amd64 binary. This gives full TUI support without Windows terminal compatibility concerns.
- Download
twig_linux_amd64from the latest release - Place it in
~/bin(Git Bash adds this toPATHautomatically) - Rename and make executable:
See the Windows guide for full setup including shell aliases.
Verify¶
Next steps¶
- Quickstart — up and running in two minutes
- Configuration reference — all config options
- Shell integration — set up aliases and git passthrough