Install kwt¶
kwt supports macOS, Linux, and Windows. Git is required. tmux is required for
workspace launch and the kwt tmux commands, but the worktree-oriented CLI can
still be used without it.
Install with Go¶
If you have Go 1.26 or newer, install the latest tagged version:
Go places the binary in $(go env GOPATH)/bin by default. Make sure that
directory is on PATH, then confirm the installation:
To pin an exact version, replace latest with a semantic-version tag:
Download a release archive¶
For tags published through the current release pipeline, the GitHub Releases page provides archives for:
- macOS on Apple silicon and Intel;
- Linux on ARM64 and AMD64; and
- Windows on ARM64 and AMD64.
Each release includes checksums.txt. Verify the archive before extracting it,
then place kwt (or kwt.exe) somewhere on PATH. The older v0.3.0 tag
predates packaged release artifacts and remains available through go install.
Build from source¶
Use make install to install the current checkout into the first directory in
GOPATH. Set INSTALL_DIR to choose another location:
Add shell integration¶
kwt can generate completions for Bash, Zsh, Fish, and PowerShell. For example:
When cd.launch_shell = false, the same generated script also installs the
wrapper that lets kwt cd change the current shell's directory.
Continue with the quickstart to create and open your first workspace.