Worktrunk v0.83.0

Worktrunk is an open-source command-line tool that simplifies Git worktree management, especially for developers running multiple AI coding resources at the same time. Built by Max Sixty, it is a convenient interface for creating, modifying, registering, joining, and deleting active worktrees without having to use lengthy Git commands.

Git work trees allow multiple branches from the same repository to have separate working directories. This is especially useful when agents like Claude Code and OpenAI Codex are run in parallel, as each agent can work independently without affecting the other agent’s files.

Worktrunk builds on this functionality with additional automation, collaborative navigation, and development workflow features.

Features

Simplified Git Worktree Management

Worktrunk provides three core commands for everyday worktree operations:

  • wt switch switches between existing worktrees or creates new ones.

  • wt list displays worktrees with branch status and change information.

  • wt remove removes worktrees and their associated branches.

For example, creating a new feature branch and worktree requires only:

wt switch --create feature-auth

Worktrunk automatically creates the branch, prepares its working directory, and switches the shell into it.

This eliminates much of the repetitive work involved in managing Git worktrees manually.

Parallel AI Coding Agents

Worktrunk is particularly useful for developers working with multiple AI coding agents.

It can create a worktree and immediately launch an agent using the -x option:

wt switch -x claude --create feature-a -- "Implement user authentication"

Developers can repeat this process for different tasks, giving each agent its own branch and working directory.

This approach works with different command-line coding agents, including Claude Code and Codex. Worktrunk does not provide its own AI model or require users to replace their existing coding tools.

Automated Development Hooks

Worktrunk includes configurable hooks that execute commands during different stages of the worktree lifecycle.

Examples include:

  • Pre-start hooks for installing dependencies.

  • Post-start hooks for preparing development environments.

  • Pre-merge hooks for running tests and validation.

  • Post-merge hooks for cleaning up temporary resources.

Hooks can automate repetitive setup tasks whenever a new worktree is created.

For projects using Node.js, developers can configure dependency installation automatically. Other workflows can prepare databases, environment files, development servers, or additional resources.

Interactive Worktree Picker

Worktrunk provides an interactive interface for navigating existing worktrees.

Instead of remembering branch names and directory paths, developers can browse available worktrees and inspect their status.

The picker can display additional information, including Git diffs, commit history, pull requests, comments, and CI status.

This becomes increasingly useful when managing many parallel development tasks.

Shared Build Caches

One challenge with Git worktrees is that each working directory can require its own dependency installation and build output.

Worktrunk addresses this through copy-on-write build cache sharing.

It supports sharing directories such as node_modules/ and Rust's target/ across worktrees on supported filesystems, including APFS, Btrfs, and XFS.

This can significantly reduce redundant disk usage and avoid repeatedly rebuilding dependencies.

The feature depends on filesystem support and appropriate configuration. It should not be assumed to work identically on every operating system or storage configuration.

Git Merge and Cleanup

Worktrunk provides a simplified merge workflow that can handle committing, rebasing, merging, and cleaning up a completed worktree.

For example:

wt merge main

The command can prepare changes, generate a commit message when configured, merge the branch into the target, and remove the completed worktree.

This reduces the number of manual Git operations required to finish a development task.

Pull Request Integration

Worktrunk supports switching directly to pull request branches.

For example:

wt switch pr:123

It can also display CI status and pull request information through its listing and interactive navigation features.

This makes it easier to move between local development branches and remotely hosted contributions.

Custom Commands and Configuration

Worktrunk supports aliases, custom commands, configurable worktree paths, and per-branch variables.

Developers can use these features to build project-specific workflows without maintaining separate shell scripts for every operation.

Its configuration system also supports LLM-generated commit messages, allowing developers to generate commit descriptions from their changes when an appropriate AI tool is configured.

Download Worktrunk v0.83.0 - Software Mirrors

Worktrunk v0.83.0 for Windows

worktrunk-x86_64-pc-windows-msvc.zip | 17.04 MB

Worktrunk v0.83.0 for macOS

worktrunk-x86_64-apple-darwin.tar.xz | 7.05 MB

worktrunk-aarch64-apple-darwin.tar.xz | 6.45 MB

Worktrunk v0.83.0 for Linux

worktrunk-x86_64-unknown-linux-musl.tar.xz | 8.07 MB

worktrunk-aarch64-unknown-linux-musl.tar.xz | 7.17 MB

Others Download related to Worktrunk v0.83.0

wt.rb | 2.58 kB

worktrunk-installer.sh | 52.25 kB

worktrunk-installer.ps1 | 20.86 kB

source.tar.gz | 4.03 MB

sha256.sum | 610 B

Worktrunk v0.83.0 Source Code

Worktrunk v0.83.0 Source code (zip)

Worktrunk v0.83.0 Source code (tar.gz)

Worktrunk v0.83.0 Release Notes:

Release Notes

Improved

  • PyPI wheels (experimental): releases publish worktrunk to PyPI as platform wheels holding the same binaries as GitHub Releases, so uv tool install worktrunk or pip install worktrunk installs wt and git-wt, and uvx --from worktrunk wt runs it without installing. (#4823, thanks @fresh2dev for #4822)
  • Editor schemas for config files: JSON Schemas for user and project config are published under worktrunk.dev/schema/. A #:schema line at the top of a config file lets Taplo and Tombi complete keys and flag misspelled ones. Docs (#4726, thanks @FlavioAmurrioCS)
  • Claude Code plugin install needs Claude Code 2.1.292: wt config plugins claude install and the docs use claude plugin install worktrunk --marketplace max-sixty/worktrunk, which adds the marketplace when it's missing and which older Claude Code rejects. Docs (#4843)
  • Retry hint after failed setup: when pre-start fails as wt switch creates a worktree, the error suggests a wt hook pre-start command that reruns setup there with the switch's variables. The old --no-hooks hint led to "branch already exists", or to a worktree whose setup never ran. (#4705, thanks @ee-prog for #4143)
  • Help through forwarding aliases: an alias that references {{ args }} receives --help and -h as arguments, so with sw = "wt switch {{ args }}", wt sw --help shows wt switch help. Such an alias now runs on --help, every pipeline step included, where 0.82.0 ran nothing. Other aliases still point to wt config alias show. (#4856, thanks @sdi2200262)
  • Last activity and forge API host in list JSON: schema 2 adds worktree.modified_at, the later of the HEAD commit time and the newest changed or untracked file's mtime. Both schemas report a configured forge.hostname as api_host (repo.forge.api_host in schema 2, repo.api_host in schema 1). Docs (#4699, #4857, thanks @zichen0116 and @sdi2200262, and @luiul for #4515 and @owpac for #4762)

Fixed

  • Worktrees checked out inside a removed worktree: when the nested checkout was gitignored in the outer worktree, or --force was passed, wt remove and wt step prune deleted it with its uncommitted files. wt remove now refuses such a target, and prune skips it. Docs (#4861)
  • aqua and mise installs: 0.82.0's signing certificate named a recovery tag instead of v0.82.0, so aqua and mise's aqua: backend refused to install it. This release is signed under its own version tag. (#4870, thanks @robfeldmann for #4829)
  • Picker: the preview keeps its half-width split after a terminal resize, faint text on the selected row has more contrast, and exiting right after alt-x waits for the removal instead of abandoning it. (#4867, #4796, #4861, thanks @disrupted for #4793 and the request in #1264)
  • Hook templates that can't render: an unguarded {{ branch }} in a detached worktree (as in jj-colocated repos), or a misspelled variable in a post-commit, post-merge or post-remove hook, now fails before either source's hook starts, and the command exits 1, as for a syntax error. These failed only in the background hook's log. Docs (#4787)
  • Agent plugins: when worktree-path runs through a symlinked directory inside the repo, Claude Code's WorktreeCreate hook prints the resolved path, which Claude Code 2.1.325 requires. OpenCode 2.3 sessions set activity markers once the plugin is reinstalled with wt config plugins opencode install. The wt-switch-create skill no longer reads as reserving commits for the user's permission. (#4814, #4850, #4828, thanks @ava-terra for #4849)
  • Shell integration: PowerShell integration loaded from worktrunk's own binary skips Windows Terminal's wt.exe (the profile line wt config shell install writes still runs the first wt on PATH); once reinstalled with wt config shell install nu, the Nushell wrapper works with a user open alias; bash, zsh and fish no longer claim a --source meant for another command. (#4786, #4865, #4833)
  • Nix home-manager module: homeModules.default defers to home-manager's own programs.worktrunk (26.11 and later) instead of failing with "already declared", and the flake package installs the agent skills home-manager links. (#4788)
  • wt merge from a linked default-branch worktree: with the primary worktree on another branch, wt merge run from the default branch's linked worktree merged, then skipped post-merge hooks and exited 1 with "Cannot remove the default branch". It now preserves that worktree and succeeds. (#4853)
  • Gitea and Forgejo: on Forgejo 16+, CI status finds a same-repo branch's PR beyond the first 20 open PRs. wt switch pr:N checks out PR source branches named pull/.... (#4864, #4832)
  • wt list with a missing HEAD object: one worktree whose HEAD commit object was absent blanked Commit, Age and Message on every row. Now only that row loses them, with a warning, and schema 2 JSON reports its head.short_sha as null rather than "". (#4852)
  • Fixes for unusual setups: vars keys must be lowercase and start with a letter, as git stores them; detached worktrees keep separate summaries; the leftover-branch hint keeps --path and --execute; unchanged switch history skips rewriting .git/config; a failed wt step promote names where it staged ignored files; wt list marks no row primary in a bare repo without a default-branch worktree. (#4830, #4840, #4841, #4866, #4861, #4785)

Documentation

  • FAQ inventories: "What files does Worktrunk create?" lists wt step squash --dry-run's temporary index and says wt remove deletes the branch only when merged; "What commands does Worktrunk execute?" lists forge CLIs for PR and MR lookups. (#4831, #4847)

Internal

  • MSRV is Rust 1.99. (#4811)
  • minijinja 3.1: templates render with minijinja 3.1, which treats undefined and none values differently in some filters, such as join, first, last and length. (#4809)
  • License files: LICENSE is split into LICENSE-MIT and LICENSE-APACHE, so GitHub detects the dual license; the texts are unchanged. (#4783)
  • Breaking Rust library changes: GitRepoInfo gains a public api_host field (#4857), GitError a WorktreeContainsWorktree variant (#4861), and WorkingTree::status_porcelain_cached returns git status --porcelain -z bytes instead of a String (#4699).

Install worktrunk 0.83.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/max-sixty/worktrunk/releases/download/v0.83.0/worktrunk-installer.sh | sh && wt config shell install

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/max-sixty/worktrunk/releases/download/v0.83.0/worktrunk-installer.ps1 | iex"; git-wt config shell install

Install prebuilt binaries via Homebrew

brew install worktrunk && wt config shell install

Download worktrunk 0.83.0

Install via Cargo

cargo install worktrunk && wt config shell install

Install via Winget (Windows)

winget install max-sixty.worktrunk && git-wt config shell install

Install via AUR (Arch Linux)

paru worktrunk-bin && wt config shell install

Performance and Compatibility

Worktrunk is written in Rust and distributed as a native command-line application. It does not require a background server or introduce an additional AI runtime.

Its main workload involves Git operations, filesystem management, shell integration, and optional workflow automation. Consequently, its performance depends more on repository size, filesystem behavior, and configured hooks than on AI model processing.

It supports macOS, Linux, and Windows. Installation is available through Homebrew, Cargo, Winget, and several Linux package managers.

Shell integration is available for supported shells, allowing commands such as wt switch to change the current directory directly.

Windows users should note that wt can conflict with the Windows Terminal command alias. The Winget installation provides git-wt as an alternative.

System Requirements

Worktrunk requires:

  • Git installed and accessible through the system PATH.

  • A supported operating system: Windows, macOS, or Linux.

  • A compatible shell for directory-switching integration.

  • A Git repository for worktree operations.

Optional requirements depend on the features being used:

  • Cargo and Rust for building from source.

  • jq for certain integrations and scripts.

  • A compatible AI coding agent for automated agent workflows.

  • A supported filesystem for copy-on-write cache sharing.

Pros and Cons

Pros

  • Simplifies Git worktree creation and management.

  • Designed for parallel AI coding workflows.

  • Supports Claude Code and other command-line agents.

  • Automates development tasks through hooks.

  • Provides interactive worktree navigation.

  • Supports shared build caches.

  • Includes merge, cleanup, and pull request workflows.

  • Written in Rust and open-source.

  • Supports Windows, macOS, and Linux.

Cons

  • Requires familiarity with Git worktrees to use its advanced features effectively.

  • Shell integration requires additional configuration.

  • Copy-on-write cache sharing depends on filesystem compatibility.

  • Some advanced features require external tools.

  • Does not provide AI models or coding agents itself.

How to Install

The easiest installation method on macOS and Linux is Homebrew:

brew install worktrunk
wt config shell install

For installation through Cargo:

cargo install worktrunk
wt config shell install

On Windows, use Winget:

winget install max-sixty.worktrunk
git-wt config shell install

Arch Linux users can install it through Pacman:

sudo pacman -S worktrunk
wt config shell install

After installation, restart the terminal or reload the shell configuration.

Verify the installation with:

wt --help
wt list

To create a new worktree:

wt switch --create feature-test

The official documentation provides additional configuration examples for hooks, aliases, build caches, and parallel AI agent workflows.

Final Verdict

Worktrunk is an excellent utility for developers who frequently work with multiple Git branches, especially those using AI coding agents.

Its biggest advantage is that it makes Git worktrees considerably easier to manage. Features such as automated hooks, shared build caches, interactive navigation, and integrated merge workflows turn what would otherwise be repetitive Git operations into a more organized development process.

It is not an AI coding assistant itself, but it complements tools such as Claude Code and Codex by providing isolated environments for parallel development.

For developers who regularly run multiple coding agents or maintain several features simultaneously, Worktrunk is a practical addition to their development toolkit.

Sources


Worktrunk v0.83.0
Free
Software Informations:
Developer:

Operating System:
Windows / macOS / Linux
Date Added:
2026-11-22T16:07:11.405Z
Categories:

Post a Comment/Report Broken Link: