Install Uzi
Install with Go
Install Uzi using the Go package manager:This downloads and compiles the latest version of Uzi from the source repository.
Add GOBIN to your PATH
Make sure your Then reload your shell configuration:
GOBIN directory is in your PATH so you can run uzi from anywhere.Add this to your shell profile (~/.bashrc, ~/.zshrc, or equivalent):The default
GOBIN location is $HOME/go/bin. If you’ve customized your Go installation, adjust the path accordingly.Verify installation
Confirm Uzi is installed correctly:You should see the Uzi command-line interface with available commands.
Configure your project
After installing Uzi, configure it for your project by creating auzi.yaml file.
Create uzi.yaml
In your project root directory, create auzi.yaml file:
uzi.yaml
Configuration options
The command to start your development server. Use
$PORT as a placeholder for the port number that Uzi will assign to each agent.Examples:Include all setup steps (like
npm install, pip install, etc.) since each agent runs in an isolated Git worktree with its own dependencies.The range of ports Uzi can use for development servers in the format
start-end.Examples:3000-3010- Allows up to 11 agents (ports 3000-3010)8000-8099- Allows up to 100 agents (ports 8000-8099)4000-4004- Allows up to 5 agents (ports 4000-4004)
Optional: Skip dev server setup
If your project doesn’t need development servers (e.g., for backend-only work), you can omit theuzi.yaml file or leave fields empty:
uzi.yaml
Directory structure
After running Uzi, it creates the following directory structure:Uzi stores all data in
~/.local/share/uzi/ to keep your project directory clean. You can reset everything with uzi reset.Troubleshooting
Command not found: uzi
If you get a “command not found” error:-
Verify
GOBINis in your PATH: -
Check if Uzi binary exists:
-
If the binary exists but the command fails, manually add to PATH:
Tmux not found
Install tmux using your package manager:Git worktree errors
If you encounter Git worktree errors:-
Make sure you’re in a Git repository:
-
Ensure you have committed your changes:
-
Clean up old worktrees if needed:
Next steps
Quickstart
Learn how to run your first parallel agents with Uzi