Required Dependencies
ZSH
Repo Manager requires ZSH (Z Shell) version 5.0 or later. Check your version:- macOS
- Ubuntu/Debian
- Fedora/RHEL
- Arch Linux
ZSH is pre-installed on macOS. To upgrade:
Optional Dependencies
Optional dependencies enable additional features. Repo Manager works without them but with reduced functionality.fzf (Fuzzy Finder)
Enables: Interactive worktree picker Feature: When you runrepo goto on a repository with multiple worktrees, fzf provides an interactive menu to select which worktree to navigate to.
Without fzf: Repo Manager defaults to the main branch worktree without prompting.
Install fzf:
- macOS
- Ubuntu/Debian
- Fedora/RHEL
- Arch Linux
- Git (any platform)
gh CLI (GitHub CLI)
Enables: PR worktree creation Feature: Therepo wt pr <number> command requires gh CLI to fetch pull request information and create worktrees for reviewing PRs.
Without gh CLI: The repo wt pr command will not work, but all other worktree operations remain functional.
Install gh CLI:
- macOS
- Ubuntu/Debian
- Fedora/RHEL
- Arch Linux
- Windows
Feature Availability Matrix
| Feature | Required Dependencies | Optional Dependencies |
|---|---|---|
| Clone repositories | ZSH | - |
| Create new repositories | ZSH | - |
| Navigate to repositories | ZSH | - |
| List repositories | ZSH | - |
| Basic worktree operations | ZSH | - |
| Interactive worktree picker | ZSH | fzf |
| PR worktrees | ZSH | gh CLI |
Verification Script
Check which dependencies are installed:Troubleshooting
Command not found after installation
If a dependency doesn’t work after installation:- Restart your terminal or run
source ~/.zshrc - Check if the binary is in your PATH:
- If not in PATH, add the installation directory to PATH in
.zshrc
fzf not appearing in repo goto
Even with fzf installed, the picker only appears when:- You’re in a repository with multiple worktrees
- fzf is available in PATH
gh CLI authentication issues
Ifrepo wt pr fails with authentication errors:
- Re-authenticate:
- Check authentication status:
- Ensure you have access to the repository