Install Docktree via our installer script or Homebrew.
The recommended way to install Docktree is via our installer script:
Alternatively, you can tap and install via Homebrew. Note that Homebrew 4.4+ requires trusting unsigned custom taps:
brew tap Bnjoroge1/tap
brew trust Bnjoroge1/tap
brew install docktree
docktree --version
If you use AI coding agents (such as Claude Code, Codex, Cursor, OpenCode, or OMP/Pi), you can install Docktree skills to teach them how to drive the Docktree CLI (e.g. using the --json flag, handling errors, and managing worktree lifetimes):
Note: Under the hood, these are standard Docker containers at the end of the day. Because Docktree delegates directly to the standard Docker engine, all existing tools, agent diagnostics, and container inspect tasks your agents are already familiar with will work seamlessly.
To install globally for a specific agent (e.g. Claude Code):
npx skills add Bnjoroge1/Docktree -g -a claude-code
docker compose must be available) running on a daemon such as Docker Desktop, OrbStack, or Colimadocker-compose.yml or compose.ymlRead the quick start guide to spin up your first worktree stack.