---
title: How to create a GitHub / GitLab runner on Apple silicon
description: Learn more about creating a GitHub or GitLab runner on a hosted Mac mini.
tags: apple-silicon runner gitlab github
dates:
  validation: 2025-12-05
  posted: 2025-12-05
---
import Requirements from '@macros/iam/requirements.mdx'
import image from './assets/scaleway_github_token.webp'


You can install your Mac mini with a pre-installed runner for GitHub or GitLab thanks to [Scaleway's Dev OS](/apple-silicon/reference-content/scaleway-dev-os/).

<Message type="important">
  If you wish to switch from **Runner** mode to [**Standard** mode](/apple-silicon/how-to/create-mac-mini/) (or vice versa), you must delete you current Mac mini and place a new order with the desired configuration. Mode changes cannot be performed in-place.
</Message>

<Requirements />

- A Scaleway account logged into the [console](https://console.scaleway.com)
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
- An [SSH key](/organizations-and-projects/how-to/create-ssh-key/)

<Message type="important">
  Due to license constraints, the minimum lease for Apple silicon is 24 hours. As a result, the earliest you can delete a Mac mini is 24 hours after the start of its lease.
</Message>

## Creating a runner

1. Click [Apple silicon](https://console.scaleway.com/asaas/servers) in the **Bare Metal** section of the side menu. The [Apple silicon creation page](https://console.scaleway.com/asaas/servers) displays.
    <Message type="note">
    If your account already contains Mac minis, they appear in a list.
    Alongside, you will see a (+ Create Mac mini) button, which you can click to create a new Mac mini.
    </Message>
2. Click **Create Mac mini**. The Mac mini creation wizard displays.
3. Complete the following steps in the wizard:
    - Choose the **Pre-installed runner** setup type for your Mac mini.
    - Choose an **Availability Zone**, which is the geographical region where your Mac mini will be deployed. The available Mac mini configurations depend on the Availability Zone:
    - Mac mini M4, M2 pro, and M2 are available in PARIS 1
        <Message type="note">
          Dev OS is **not compatible** with M1 Mac minis and machines equipped with **less than 512 GB** of storage.
        </Message>
    - Choose a [Dev OS](/apple-silicon/reference-content/scaleway-dev-os/) version.
    - Tick the checkbox to accept the Dev OS license agreement.
    - Choose and configure your runner.
      - **GitHub**: Enter your repository URL, registration token, and a runner name.
      - **GitLab**: Enter your Instance URL, runner token, and a runner name.
        <Message type="tip">
            * Credentials are validated during runner installation. If incorrect credentials are provided, the runner **will still be created but will be non-functional**. You will be able to [update your credentials](#updating-a-runner) post-installation.
            * GitHub tokens have a limited validity of one hour. If your token has expired it will not be possible to register your runner. You have to [retrieve a new token](#retrieving-your-github-token).
        </Message>
    - Enter a **Name** for your Mac mini, or leave the randomly-generated name in place.
    - Verify the **Estimated cost** for your Mac mini based on your chosen specifications.
    - Select the commitment plan for your Mac mini. Two options are available:
      - **No commitment:** You can terminate the subscription of your Mac mini at any time after the initial 24 hours, a mandatory period required by Apple's software license. [Learn more about Apple's software license requirements (Section 3.A)](https://www.apple.com/legal/sla/docs/macOSSequoia.pdf).
      - **Commitment:** You subscribe to a [commitment plan for Apple silicon](/apple-silicon/concepts/#commitment-plan) and benefit from a discounted monthly price based on your choice.
        <Message type="important">
            Currently, it is not possible to switch from a monthly commitment to hourly billing.
        </Message>
4. Tick the checkbox to agree to the Bare Metal specific conditions and the macOS License Agreement.
5. Click **Create Mac mini** to finish. The installation of your Apple silicon is launched, and you are informed when it is ready.

### Retrieving your GitHub token

You can retrieve the required registration token to configure your self-hosted runner from your GitHub repository.

1. Open your GitHub repository in a web browser.
2. Click **Settings** to view the settings tab.
3. In the **Actions** section of the sidebar, click **Runners** to display all runners configured for this project.
4. Click **New self-hosted runner** to view the setup instructions.
5. Retrieve the token from the command in the **Configure** section of the instructions.
    For example, if the command appears as:
    ```
    $ ./config.sh --url https://github.com/my-user/my-github-repository/ --token 123456789abcdef123456789abcdef123456789a
    ```
    The token is the value after `--token`, like: `123456789abcdef123456789abcdef123456789a`.

    <Lightbox image={image} size="medium" alt="A screenshot of the GitHub.com interface for adding new runners." />

    <Message type="tip">
      The registration token is **single-use** and **expires one hour after generation**. Do not share it or publish it publicly.
    </Message>

## Updating a runner

<Message type="important">
Updating an installed runner on Apple silicon is limited in scope. Only the authentication token can be updated (e.g., to provide a renewed token). It is **not possible** to update the runner’s URL or name while the runner is active.

If changes to the URL or name are required, you must **delete the existing runner and register a new one**.
</Message>

1. Click [Apple silicon](https://console.scaleway.com/asaas/servers) in the **Bare Metal** section of the side menu. The Apple silicon creation page displays.
2. Select the machine you want to update. The runner information overview displays.
3. Open the **Settings** tab.
4. Click **Edit** in the **Runner information** section of the page. A pop-up displays.
<Message type="tip">
  GitHub tokens have a limited validity of one hour. If your token has expired it will not be possible to register your runner. You have to [retrieve a new token](#retrieving-your-github-token).
</Message>
5. Update your runner credentials and click **Save and reboot**. Your runner configuration will be updated and the runner performs a reboot to take the new configuration into effect.

<Message type="tip">
Runners relies on dev OS releases & are not kept up to date automatically. Once the runner is delivered you are responsible for keeping the preinstalled software up to date. In order to simplify maintenant of your runner fleet, we recommend personalizing your runners using CICD jobs. This way you can easily dispose of existing runners running outdated versions & replace them with new ones
</Message>


## Reinstalling a runner

Reinstalling a server delivered in Dev OS mode is **not possible** due to the lengthy installation process required for the full Dev OS stack.
You have to delete the runner and [create a new one](#creating-a-runner).

## Deleting a runner

You can delete a runner like any Mac mini. Refer to [How to delete a Mac mini](/apple-silicon/how-to/delete-mac-mini) for more information.

<Message type="tip">
  If required, you can remove the runner independently (without deleting the macOS host) using the **API or Terraform**. This operation is currently **not supported via the web console**. We recommend using Infrastructure-as-Code tools like Terraform for full lifecycle management of your runners.
</Message>

<Message type="note">
  Mac mini and macOS are trademarks of Apple Inc., registered in the U.S. and other countries and regions. iOS is a trademark or registered trademark of Cisco in the U.S. and other countries and is used by Apple under license. Scaleway is not affiliated with Apple Inc.
</Message>
