Install and first use
This page takes you from nothing to an agent working on a task. It takes about ten minutes.
What you need
Section titled “What you need”- Linux (x86-64 or ARM64) or macOS on Apple silicon. Releases have no build for Windows or for Intel Macs; on those, build from source.
- tmux. Legato runs each agent in its own tmux session.
- git.
- At least one agent tool, installed and logged in: Claude Code, Codex or Chimera.
1. Download Legato
Section titled “1. Download Legato”Each release has one binary for each platform and a SHA256SUMS file. The links below always give the newest release.
| Platform | File |
|---|---|
| Linux, x86-64 | legato-linux-amd64 |
| Linux, ARM64 | legato-linux-arm64 |
| macOS, Apple silicon | legato-darwin-arm64 |
On Linux, download the binary, check it, and put it on your PATH. Change legato-linux-amd64 to the file for your machine:
cd "$(mktemp -d)"curl -fLO https://github.com/cpave3/legato/releases/latest/download/legato-linux-amd64curl -fLO https://github.com/cpave3/legato/releases/latest/download/SHA256SUMSsha256sum --check --ignore-missing SHA256SUMSmkdir -p ~/.local/bininstall -m 755 legato-linux-amd64 ~/.local/bin/legatoOn macOS, use shasum to check the file:
cd "$(mktemp -d)"curl -fLO https://github.com/cpave3/legato/releases/latest/download/legato-darwin-arm64curl -fLO https://github.com/cpave3/legato/releases/latest/download/SHA256SUMSshasum -a 256 --check --ignore-missing SHA256SUMSmkdir -p ~/.local/bininstall -m 755 legato-darwin-arm64 ~/.local/bin/legatoThe macOS binary is signed ad hoc, but Apple has not notarized it. A binary that curl downloads does not get the quarantine flag, so it runs. If you download it with a browser instead, remove the flag:
xattr -d com.apple.quarantine ~/.local/bin/legatoCheck that your shell finds it:
legato versionIf the command is not found, add ~/.local/bin to PATH in your shell profile.
2. Run the setup
Section titled “2. Run the setup”Start Legato in a terminal:
legatoThe first time Legato starts, it has an empty database, and it runs a short setup:
- It makes the board’s columns: Backlog, Ready, Doing, Review and Done.
- It asks
Configure Jira integration? (y/N). PressEnterto keep the board local. You can connect Jira later.
Then the board opens. Press ? at any time to see the keys.
Legato keeps its settings in ~/.config/legato/config.yaml and its data in ~/.local/share/legato/. The file does not need to exist: without it, Legato uses its defaults. The configuration reference lists every setting.
3. Let your agent tools report to Legato
Section titled “3. Let your agent tools report to Legato”Legato shows on each card what its agent is doing: running, waiting for you, or idle. The agent tools report this through hooks. Claude Code needs nothing from you: Legato loads its own plugin into every Claude Code session it starts. Install the hooks of the others once.
Codex reads hooks from the project, so run this in each repository where agents work:
cd ~/code/my-projectlegato hooks install --tool codexChimera reads hooks from your home folder, so run this once:
legato hooks install --tool chimeralegato hooks uninstall --tool <tool> removes only Legato’s hooks.
4. Start an agent on a task
Section titled “4. Start an agent on a task”- On the board, press
nto make a task. Type a title, and a description of the work if you like. PressEnter. - With the task selected, press
a. - Choose the agent tool and the folder the agent starts in. Press
Enter.
Legato starts the agent in a tmux session and gives it the task. The card now shows the agent’s state. Press A to see all your agents, and Enter on one to attach to its terminal. Press Ctrl+] to detach and go back to Legato.
5. Open the web UI
Section titled “5. Open the web UI”The web UI shows the same board and agents in a browser, and lets you talk to agents from your phone. To start it with the TUI, add this to ~/.config/legato/config.yaml:
web: enabled: trueRestart Legato, then open http://localhost:3080. The web UI asks for a token the first time. Print it with:
legato auth tokenTo use Legato on your phone, see Your phone and other devices. legato pair pairs the Legato app with four words.
6. Updates
Section titled “6. Updates”A release build updates itself. By default it asks first: the web UI shows a bar when a new release is out, and an item in Attention. You can change this to update automatically, or never, in the web UI under Settings › Updates. See Updates.
Next steps
Section titled “Next steps”- Take the tour of the board, the agents view and the web UI.
- Choose how to run Legato: on your workstation, as a web server, or on a server of its own.
- Connect Jira and GitHub.
- Give agents credentials without giving them the secrets.
