The project includes a justfile for common build tasks. Install just to use it.
Available tasks:
just # Show available recipes
just build # Build the binary
just test # Run unit tests
just e2e # Run E2E tests
just test-all # Run unit + E2E tests
just clean # Clean build artifacts
just build-all # Cross-compile for multiple platforms
just dev-shellenv # Print shell integration for running from sourceWhen hacking on wt, you can use dev-shellenv to get a shell function that
runs directly from source instead of an installed binary. This means every wt
command instantly reflects your code changes — no rebuild or reinstall needed.
eval "$(just dev-shellenv)"This replaces the wt shell function so it calls go run against your local
checkout. Auto-cd and tab completion work as normal.
Re-run the eval line after changing the shell completion code in shellenv.
- Git
ghCLI (optional, only needed forwt prcommand to checkout GitHub PRs)glabCLI (optional, only needed forwt mrcommand to checkout GitLab MRs)
- Go 1.24+ (we support and test the latest two Go releases: 1.24 and 1.25)
just(optional, for using the justfile)