install.txt

RelayRunner docs: Install the CLI Page: https://relayrunner.dev/docs/get-started/install Markdown: https://relayrunner.dev/docs/get-started/install.md All pages: https://relayrunner.dev/docs/llms.txt

Other pages (Markdown):


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

Run it with npx, with nothing to install:

npx relayrunner connect

Or install it globally:

npm install --global relayrunner
relayrunner --help

On a Mac?: RelayRunner for Mac does the same from the menu bar, with the CLI built in.

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.

Check who the machine is signed in as with relayrunner whoami.

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

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.