Skip to content

Installation

Recommended: use Homebrew on macOS or AUR on Arch Linux. Use source installation if you prefer building directly from Go modules.

Choose Your Installation Path

brew tap chmouel/lazyworktree https://github.com/chmouel/lazyworktree
brew install lazyworktree --cask

If macOS Gatekeeper shows "Apple could not verify lazyworktree":

  1. System Settings -> Privacy & Security -> Open Anyway, or
  2. Remove quarantine attributes:
xattr -d com.apple.quarantine /opt/homebrew/bin/lazyworktree
yay -S lazyworktree-bin

Install directly:

go install github.com/chmouel/lazyworktree/cmd/lazyworktree@latest

Or clone and build locally:

git clone https://github.com/chmouel/lazyworktree.git
cd lazyworktree
go build -o lazyworktree ./cmd/lazyworktree

Pre-built Binaries

Release binaries are available at: