Connect the computer
1
Install the CLI and connect
On the computer:The command prints a link and a code. Use
--name to choose the name Twill shows.2
Approve it
Open the link on any device where you’re signed in to Twill, check that the
code and computer name match, and choose Connect. In the terminal,
confirm the account that approved it. The terminal lists the agents it found.
3
Keep it running
Answer yes when
connect asks to keep the computer running in the
background. The runner then starts right away and again after every
restart: a launchd agent on macOS, a systemd user service on Linux.To skip the question, pass --service (install) or --no-service. Later,
use twill computer service install or uninstall. To run it in the
terminal instead, use twill computer start and press Ctrl+C to stop.4
Sign in the agents
Agents use this computer’s own logins. Sign in once in its terminal:
claude auth login, codex login --device-auth, or opencode auth login.5
Add projects
twill computer status shows whether the computer is online, its projects, and which agents are signed in. twill computer logs -f follows the runner’s log.
Keep it reachable
- macOS: while the runner runs, the computer doesn’t idle-sleep (
--allow-sleepturns this off); the display can still sleep. The service starts when you log in, so turn on automatic login for a Mac that should come back on its own after a power cut. - Linux: run
sudo loginctl enable-linger $USERso the service keeps running while you’re logged out.
How it relates to Twill Desktop
A computer is the same whether Desktop or the CLI runs it: they share one connection on that computer, so installing Desktop later doesn’t add a second one. Only one of them runs the runner at a time. Adding folders works from either, while reviewing local files (Changes) needs Desktop on that computer.Disconnect
twill computer connect to connect it again with the same projects.
Anyone who can use this computer’s account can run its agents and read the
projects you add. Connect only a computer you control, and approve only a
connection you started yourself.