Git worktree manager for macOS and Linux. Visualize, create, and manage worktrees from your terminal.
curl -fsSL https://raw.githubusercontent.com/luqven/tree-buddy/main/install.sh | bashSee CLI documentation for manual installation and shell setup.
tb # Launch the interactive TUINavigate with j/k, quit with q, open command palette with /, help with ?.
Tree Buddy supports fast, non-interactive commands for common tasks:
tb list # List all projects and worktrees
tb <branch> # Switch to (or create) a worktree for <branch>
tb add <branch> # Explicitly create/add a worktree
tb rm <branch> # Remove a worktree
tb --help # Show all available commandsTree Buddy | Projects
> tree-buddy (1)
● . [main] [main]
> my-cool-project (3)
● . [main] [main]
● .worktree/feat-cli [feat-cli]
● .worktree/bugfix-login [bugfix-login] [locked]
- macOS (Apple Silicon or Intel) or Linux (x64 or ARM64)
# Clone and install dependencies
git clone https://github.com/luqven/tree-buddy.git
cd tree-buddy
npm install
# Run CLI directly with Bun
npm run cli:bun
# Run tests
npm test
# Build standalone executable
npm run build:clinpm startSee docs/ for detailed documentation.