# Quickstart

Go from sign-up to a green GitHub Actions job on your own machine.

Copy page[View as Markdown](https://relayrunner.dev/docs/get-started/quickstart.md) [For AI agents](https://relayrunner.dev/docs/get-started/quickstart.txt)

You need a private GitHub repository, and a Mac or Linux computer with Node.js 22 or newer.

## 1\. Connect your machine

[Section titled “1. Connect your machine”](/content/docs/get-started/quickstart/index.html#1-connect-your-machine)

In a terminal on the computer you want CI on, run:

```
npx relayrunner connect
```

The first run shows a code and opens the dashboard. Continue with GitHub to sign up and install the [RelayRunner GitHub App](https://github.com/apps/relayrunner) on your organization or personal account in one trip. The install is your workspace. Then check the code matches and approve the machine.

Leave `connect` running. While it runs, the machine is online and takes jobs. Ctrl-C takes it offline.

## 2\. Route a job

[Section titled “2. Route a job”](/content/docs/get-started/quickstart/index.html#2-route-a-job)

In another terminal, inside a checkout of your repository, run:

```
npx relayrunner init
```

`init` lists the repo’s jobs and lets you pick which to route. For each one it adds a relay job in front and points the job’s `runs-on` at the relay’s answer. The job’s old label, such as `ubuntu-latest`, becomes the fallback. It only edits `.github/workflows/` and never commits. See [Move your workflows over](/content/docs/get-started/move-over/index.html) for what it changes and what it skips.

## 3\. Push and watch

[Section titled “3. Push and watch”](/content/docs/get-started/quickstart/index.html#3-push-and-watch)

Commit the change and push. In the workflow run on GitHub you’ll see `relay-<job> / RelayRunner` finish in about a second, then your job start. The terminal running `connect` shows the job as it runs.

Open **Activity** in the [dashboard](https://app.relayrunner.dev/) to see where the job ran and why. Stop `connect`, push again, and the same job runs on its old label instead.

## Next

[Section titled “Next”](/content/docs/get-started/quickstart/index.html#next)

- [Runner order](/content/docs/concepts/runner-order/index.html): choose what’s tried first.
- [Run CI on your laptop while you work](/content/docs/guides/laptop-ci/index.html): the full laptop setup.
- [Set up with an agent](/content/docs/get-started/agents/index.html): let a coding agent do all of this.
