Install the CLI
Getting the relayrunner CLI onto a machine, and signing it in.
The relayrunner CLI connects a machine to your workspaces and routes a repo’s jobs. It runs on macOS and Linux with Node.js 22 or newer. Windows isn’t supported yet.
Install
Section titled “Install”Run it with npx, with nothing to install:
npx relayrunner connectOr install it globally:
npm install --global relayrunnerrelayrunner --helpSign in
Section titled “Sign in”There are two ways to sign a machine in. Both open the dashboard, where you sign in with GitHub and name the machine. There’s no workspace to pick: the machine is in all of yours.
relayrunner connectsigns in and puts the machine online in one go. Use this on a machine you’ll run jobs on now.relayrunner loginsigns in and exits, without putting the machine online. Coding agents use this, since they can’t keepconnectrunning after their session ends.
Check who the machine is signed in as with relayrunner whoami.
Keep it running
Section titled “Keep it running”connect is the on/off switch. Leave it open in a terminal tab while you want the machine to take jobs. It reconnects on its own if the network drops.
To stop taking new jobs without going offline, run relayrunner pause, or press p in the connect terminal. relayrunner resume undoes it.
Update
Section titled “Update”npx relayrunner always fetches the latest version. For a global install, run npm install --global relayrunner@latest.
connect installs GitHub’s latest runner each time it starts. GitHub stops sending jobs to a runner about 30 days after a newer one comes out, so restart connect now and then if you leave it open for weeks. The Runners page says when a machine’s runner needs an update.
See the CLI reference for every command and flag.