# 使用 Homebrew, Nix, pacman, scoop, winget, apk, MacPorts, zypper 安装 worktrunk

查看 worktrunk 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:worktrunk
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install worktrunk
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install wt
```

  证据: MacPorts ports tree: devel/wt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#worktrunk
```

  证据: nixpkgs package indexes: pkgs/by-name/wo/worktrunk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S worktrunk
```

  证据: Arch Linux sync databases: worktrunk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- apk (92%):

```sh
sudo apk add wt
```

  证据: Alpine Linux edge package indexes: wt from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- zypper (92%):

```sh
sudo zypper install wt
```

  证据: openSUSE Tumbleweed package metadata: wt from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/worktrunk
```

  证据: Scoop official bucket manifest trees: bucket/worktrunk.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id max-sixty.worktrunk -e
```

  证据: Windows Package Manager source index: max-sixty.worktrunk from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:worktrunk
- **软件包管理器:** Homebrew
- **版本:** 0.71.0
- **来源摘要:** CLI for Git worktree management, designed for parallel AI agent workflows
- **主页:** <https://worktrunk.dev>
- **仓库:** <https://github.com/max-sixty/worktrunk>
- **最后更新:** 2026-07-30T22:48:00Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- wt (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.71.0
## 项目历史与用法

Worktrunk is a Git worktree management CLI aimed at developers running parallel AI-agent workflows. Its README frames the tool around making Git worktrees feel as easy as branches, with core commands for switching, creating, listing, and removing worktrees.

### 项目历史

The GitHub repository was created on 2025-10-17, and the earliest release returned by the GitHub releases API is v0.8.4, published on 2026-01-02. By July 2026 the repository README described Worktrunk as released at the start of the year and focused on reducing friction for parallel agent work.

The project evolved quickly in public during 2026. GitHub release data shows v0.65.0 published on 2026-07-02, and the repository metadata at that time showed about 5.7k stars and 198 forks, suggesting fast uptake for a new developer workflow tool.

### 使用方式

Worktrunk wraps Git's native worktree feature with shorter commands and path conventions. The README compares plain Git sequences such as adding a worktree, changing directories, and deleting the worktree/branch pair with Worktrunk commands such as wt switch, wt switch -c, wt remove, and wt list.

Its specific package-nerd niche is AI-agent concurrency: each agent can work in its own worktree so long-running tasks do not collide in a single checkout. Hooks and project configuration are used to automate local setup and validation around those worktrees.

### 为什么软件包爱好者会关心

Worktrunk is a snapshot of the 2025-2026 shift from single-session developer tooling to parallel agent orchestration. It does not replace Git worktrees; it packages the missing ergonomics around a native Git primitive that became newly important once developers started running several coding agents at once.

### 时间线

- 2025-10-17: GitHub repository is created.
- 2026-01-02: Earliest listed GitHub release, v0.8.4, is published.
- July 2026: README describes Worktrunk as released at the start of 2026 and focused on parallel AI-agent worktrees.
- 2026-07-02: GitHub releases API reports v0.65.0 as the latest release.

### Related projects

- Git worktree is the underlying Git feature that Worktrunk wraps.
- Claude Code and Codex are named in the repository topics and README context as agent workflows Worktrunk is designed to support.

### 来源

- <https://api.github.com/repos/max-sixty/worktrunk>
- <https://api.github.com/repos/max-sixty/worktrunk/releases/latest>
- <https://api.github.com/repos/max-sixty/worktrunk/releases?per_page=100>
- <https://github.com/max-sixty/worktrunk>


## 安全说明

没有找到 worktrunk 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.config/worktrunk/config.toml, .config/wt.toml
- Windows: %APPDATA%\worktrunk\config.toml, .config\wt.toml
## 其他软件包管理器记录

- Nix - worktrunk: normalized package name match | nixpkgs package indexes: pkgs/by-name/wo/worktrunk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - worktrunk - 0.68.0-1: normalized package name match | Arch Linux sync databases: worktrunk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | CLI for Git worktree management, designed for parallel AI agent workflows | https://github.com/max-sixty/worktrunk
- Scoop - main/worktrunk: normalized package name match | Scoop official bucket manifest trees: bucket/worktrunk.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - max-sixty.worktrunk: normalized package name match | Windows Package Manager source index: max-sixty.worktrunk from https://cdn.winget.microsoft.com/cache/source.msix
- MacPorts - wt: installed executable or alias match | MacPorts ports tree: devel/wt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - wt: installed executable or alias match | nixpkgs package indexes: wt from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- apk - wt - 4.14.0-r0: installed executable or alias match | Alpine Linux edge package indexes: wt from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C++ library and application server for developing and deploying web applications | https://www.webtoolkit.eu/
- apk - wt-dev - 4.14.0-r0: installed executable or alias match | Alpine Linux edge package indexes: wt-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C++ library and application server for developing and deploying web applications (development files) | https://www.webtoolkit.eu/
- apk - wt-doc - 4.14.0-r0: installed executable or alias match | Alpine Linux edge package indexes: wt-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C++ library and application server for developing and deploying web applications | https://www.webtoolkit.eu/
- pacman - wt - 4.14.0-1: installed executable or alias match | Arch Linux sync databases: wt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | a C++ library and application server for developing and deploying web applications | http://www.webtoolkit.eu/
- zypper - libwtdbo4_12_6 - 4.12.6-1.5: installed executable or alias match | openSUSE Tumbleweed package metadata: libwtdbo4_12_6 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Wt::Dbo ORM library and Sqlite3 back-end | https://www.webtoolkit.eu/wt/
- zypper - libwtdbomysql4_12_6 - 4.12.6-1.5: installed executable or alias match | openSUSE Tumbleweed package metadata: libwtdbomysql4_12_6 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | MySQL back-end for the Wt::Dbo ORM library | https://www.webtoolkit.eu/wt/
- zypper - libwtdbopostgres4_12_6 - 4.12.6-1.5: installed executable or alias match | openSUSE Tumbleweed package metadata: libwtdbopostgres4_12_6 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | PostgreSQL back-end for the Wt::Dbo ORM library | https://www.webtoolkit.eu/wt/
- zypper - wt - 4.12.6-1.5: installed executable or alias match | openSUSE Tumbleweed package metadata: wt from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | C++ library for developing web applications (Web Toolkit) | https://www.webtoolkit.eu/wt/
- zypper - wt-devel - 4.12.6-1.5: installed executable or alias match | openSUSE Tumbleweed package metadata: wt-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Web Toolkit - Development Files | https://www.webtoolkit.eu/wt/
- winget - timvw.wt: installed executable or alias match | Windows Package Manager source index: timvw.wt from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/worktrunk.yml](https://github.com/mxcl/pkgdb/blob/main/combined/worktrunk.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
