Installation
How to install wt on your machine, including prerequisites, quick install, and manual setup.
Prerequisites
- bun ≥ 1.0 —
curl -fsSL https://bun.sh/install | bash - git ≥ 2.5 — worktree support was added in git 2.5
Quick Install
The installer is interactive and will:
- Verify prerequisites
- Run
bun install - Create a
wtwrapper script in~/.local/bin(or a--prefixof your choice) - Optionally install the
post-checkoutgit hook into your repos - Optionally configure Claude Code hooks in
~/.claude/settings.json - Optionally install shell completions for zsh or bash
For unattended installs:
Manual Install
If you prefer full control:
Verify Installation
Shell Completions
Completions are installed automatically when you use ./install.sh. See Shell Completions for manual installation instructions.
Updating
Pull the latest changes and reinstall:
The wt wrapper script and completions do not need to be reinstalled after updates.