Skip to content
  1. Home
  2. AI tools
  3. Worktrunk

Worktrunk

Git worktree CLI designed for running coding agents in parallel

What it is

A CLI that makes worktrees about as easy to use as branches, with three core commands for creating, switching and merging. It adds hooks for automating local setup and copy-on-write build caches so new worktrees start fast. For developers who run several Claude Code or Codex sessions on one repository.

Good for

  • Spin up a worktree and start an agent in it
  • Merge and clean up a finished worktree
  • Run setup hooks for every new worktree

Install or run

brew install worktrunk && wt config shell install

Command as given in the project README. Read the repository before you run anything on your machine.

What you need

Git; Homebrew, Cargo or winget to install

Worth knowingNeeds shell integration installed for directory switching to work.

Sources

The summary is ours, written from the README. Spotted an error? See how we work.

More for coding

See the topic →
  • opencode

    anomalyco/opencode

    Open-source AI coding agent with a terminal UI and desktop app

    ToolGitHub stars: 227k
  • Claude Code

    anthropics/claude-code

    Anthropic's terminal coding agent; this repo hosts issues and plugins

    ToolGitHub stars: 156k
  • Spec Kit

    github/spec-kit

    GitHub's toolkit for spec-driven development with coding agents

    ToolGitHub stars: 150k
  • Codex CLI

    openai/codex

    OpenAI's terminal coding agent that runs locally on your machine

    ToolGitHub stars: 135k