Install kwt¶
Choose a Go install, a release archive, or a source build. kwt supports:
- macOS 13 or newer, Linux, and Windows;
- Git 2.20 or newer;
- Git 2.42.0 or newer on macOS and Linux, or Git for Windows 2.53.0.windows.3
or newer, for
kwt pr import; - Git 2.31 or newer for
kwt doctor,kwt prune --expired, andkwt prune --merged; - tmux 2.1 or newer for workspace launch and
kwt tmux; and - Go 1.27 or newer for
go installand source builds.
The worktree-oriented CLI can still be used without tmux.
Install with Go¶
Install v0.5.1 with:
Go places the binary in $(go env GOPATH)/bin by default. Make sure that
directory is on PATH, then confirm the installation:
Use @latest when you want Go to select the newest tagged release:
Download a release archive¶
The GitHub Releases page provides v0.5.1 archives for:
- macOS 13 or later 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.