Installation¶
Prerequisites¶
- Go 1.26+
$(go env GOPATH)/binon yourPATHso installed binaries are discoverable
Install released commands¶
Install the CLI:
Install the optional orchestrator MCP runtime:
Install the diff viewer utility:
Clone for development¶
If you are working on LazyAI itself:
git clone git@github.com:rluisb/lazyai.git
cd lazyai
cd packages/cli && go install ./cmd/lazyai-cli
cd ../orchestrator && go install ./cmd/lazyai-orchestrator
cd ../diffviewer && go install ./cmd/lazyai-diffviewer
After linking, the binary is available as:
Upgrade from an earlier Go install¶
Re-run the relevant go install ...@latest command. For example:
After upgrading the binary, refresh managed files:
Binary names¶
LazyAI ships three Go command packages:
lazyai-cli init
lazyai-cli compile
lazyai-cli doctor
lazyai-cli status
lazyai-orchestrator connect
lazyai-diffviewer --help
Symlink mode¶
By default, lazyai-cli copies library files into tool directories. You can use symlinks instead to keep all tools in sync when the library updates:
Symlinked files are tracked in .ai-setup.json with kind: "symlink".