About Worktrunk
Worktrunk is a command line tool for managing Git worktrees, designed for developers who run several AI coding agents, such as Claude Code or Codex, in parallel. Git worktrees give each agent its own working directory so agents do not overwrite one another, but the native commands are clumsy. Worktrunk addresses worktrees by branch name and computes paths from a configurable template, so creating, switching and cleaning up a worktree takes a single short command under the wt name.
It is built for individual developers and teams working with many parallel changes. Its three core commands cover switching, creating and removing worktrees, and the wt switch command can also start an agent in the new worktree. Further features include hooks that run on create, pre merge and post merge, commit messages generated by an LLM from diffs, a merge workflow that squashes, rebases, merges and cleans up in one command, and an interactive picker that shows CI status and diff, log and pull request previews. It can share build caches such as node_modules and target directories across worktrees on supported file systems, check out a pull request directly, assign each worktree a unique dev server port, and show AI generated branch summaries in its full list view.
Installation is through Homebrew on macOS and Linux or through Cargo. The site publishes no pricing page, and its structured data lists a price of USD 0.