A CLI for managing isolated git worktrees for parallel Claude Code sessions.
brew install emilrex/tap/wtgo install github.com/emilrex/wt@latestMake sure ~/go/bin is in your PATH:
export PATH="$HOME/go/bin:$PATH"wt new [name] [-b branch] # Create session and launch Claude Code
wt fg <session> # Resume session
wt ls # List sessions
wt rm <session> # Remove session
wt rm --all # Remove all sessions
wt cd <session> # Open shell in session directoryEach session creates:
- A git worktree in
~/.wt/{repo}-{session} - A branch named
wt-{session}
Sessions are isolated from each other, so Claude can work on multiple tasks in parallel without conflicts.
Session names support partial matching - wt fg auth will match auth-feature if it's the only match.
This project was inspired by claude-wt.