Install and first run
Latch lets your AI agents use a computer you trust: its files, programs, browser, Google account and, on a Mac, Messages and Contacts. That computer is a host. Its gatekeeper checks each request against your rules first.
You need macOS 13 or later, or 64-bit Linux, and a Plow account.
Install on a host
curl -fsSLO https://releases.plow.co/latch-cli/install.sh && sh install.shOn a Mac, Latch installs /Applications/Plow Latch.app and links latch to it at ~/.local/bin/latch; on Linux, latch goes in ~/.local/bin. The installer adds ~/.local/bin to your PATH: open a new terminal to pick it up.
Install on an agent
On the computer your agent runs on. Then connect the agent.
curl -fsSLO https://releases.plow.co/latch-cli/install.sh && sh install.sh --client-onlyThis install leaves your PATH alone. Put ~/.local/bin on it where your agent runs:
export PATH="$HOME/.local/bin:$PATH"First run
The installer starts setup. On macOS 26 or later, the Plow Latch app opens and walks you through it.
- Log in to Plow. Text the code it shows from your phone.
- Optional: connect Google.
- Optional, Mac only: turn on Messages and Contacts. Grant Full Disk Access to Plow Latch.
- Pick rules for your agents: a family assistant's, a work assistant's, or none for now.
- Start the host.
Then make the rules your own: what your agents may and may not do.
latch rules editThe Mac app runs on the latch command: anything it does, latch can do.
Check it worked
On a host or an agent's computer, see its login and the hosts it can reach:
latch statusUpdate
latch updateAn agent runs it with the LATCH_STATE_DIR it was installed with, if it has one. Nothing updates on its own.
This page is made from its source in latch-cli. Found a mistake? Open a pull request there.