# Install gitlab-runner with Homebrew, apk, chocolatey, MacPorts, Nix, pacman, scoop, winget

Official GitLab CI runner. Version 19.1.1 via Homebrew; verified 2026-06-25.

## Install

```sh
sudo av install brew:gitlab-runner
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gitlab-runner
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gitlab-runner
```

  Evidence: MacPorts ports tree: devel/gitlab-runner/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add gitlab-runner
```

  Evidence: Alpine Linux edge package indexes: gitlab-runner from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#gitlab-runner
```

  Evidence: nixpkgs package indexes: pkgs/by-name/gi/gitlab-runner/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S gitlab-runner
```

  Evidence: Arch Linux sync databases: gitlab-runner from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Chocolatey (92%):

```sh
choco install gitlab-runner
```

  Evidence: Chocolatey community package catalog: gitlab-runner from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','gawk'

- Scoop (92%):

```sh
scoop install main/gitlab-runner
```

  Evidence: Scoop official bucket manifest trees: bucket/gitlab-runner.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Gitlab.Runner -e
```

  Evidence: Windows Package Manager source index: Gitlab.Runner from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:gitlab-runner
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gitlab-runner>
- **Version:** 19.1.1
- **Source summary:** Official GitLab CI runner
- **Homepage:** <https://gitlab.com/gitlab-org/gitlab-runner>
- **Repository:** <https://gitlab.com/gitlab-org/gitlab-runner>
- **Upstream docs:** <https://docs.gitlab.com/runner>
- **License:** MIT
- **Source archive:** <https://gitlab.com/gitlab-org/gitlab-runner.git>
- **Last updated:** 2026-06-25T13:16:00Z
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- gitlab-runner (cli)
- gitlab-runner (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 19.1.1
- Package-manager updated: 2026-06-25
- Local data: ok
- Upstream repository: https://gitlab.com/gitlab-org/gitlab-runner
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

GitLab Runner is the open-source agent that executes GitLab CI/CD jobs and reports their results back to GitLab. It is a core piece of GitLab's automation model because pipelines defined in .gitlab-ci.yml need one or more runners to perform the actual work.

### Project history

The runner project began in the GitLab CI era under the name GitLab CI Multi Runner. The repository README records the older name and credits Kamil Trzcinski for the 2014-2015 authorship period before GitLab Inc. and contributors took over maintenance.

Early public tags in the GitLab Runner repository date to January 2015. The project evolved from a CI worker into a cross-platform runner manager written in Go, distributed as a single binary, and paired with GitLab's major/minor release rhythm for compatibility.

### Adoption history

GitLab Runner became significant because GitLab supports both hosted and self-managed runner models. Organizations can use GitLab-hosted runners for managed capacity or install self-managed runners on their own machines, containers, virtual machines, or Kubernetes clusters.

Its ecosystem reach is visible in packaging and deployment channels: GitLab documents installation across operating systems, the project publishes helper images, and package managers such as Homebrew distribute the runner for local and service-based setups.

### How it is used

Practitioners register runner instances with a GitLab project, group, or instance, choose an executor such as shell, Docker, SSH, Kubernetes, or autoscaling modes, and tune config.toml for job limits, caching, network settings, and executor-specific behavior.

Administrators treat the runner as infrastructure: they size worker capacity, isolate sensitive workloads, attach tags to route jobs, monitor logs and metrics, and keep runner versions aligned with GitLab releases so pipeline features behave as expected.

### Why package nerds care

For package-minded users, GitLab Runner is a rare CI component that is both a service daemon and a developer workstation tool. The Homebrew formula and other package-manager entries matter because local runners are useful for testing CI behavior, while production installations often run as long-lived services.

### Timeline

- 2014-2015: Kamil Trzcinski authored the runner project during its GitLab CI Multi Runner period.
- 2015: Early v0.1.x tags appeared in the repository.
- 2015 onward: GitLab Inc. and contributors maintained the project as GitLab Runner.
- 2026: The v19 release line reflected GitLab Runner's continued alignment with GitLab release numbering.

### Related projects

- GitLab CI/CD provides the pipeline coordinator and .gitlab-ci.yml configuration consumed by runners.
- GitLab Release CLI and other CI helper tools rely on runner-provided job context when used inside pipelines.

### Sources

- <https://docs.gitlab.com/runner/>
- <https://docs.gitlab.com/runner/configuration/advanced-configuration/>
- <https://formulae.brew.sh/formula/gitlab-runner>
- <https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-runner>
- <https://gitlab.com/gitlab-org/gitlab-runner>
- <https://gitlab.com/gitlab-org/gitlab-runner/-/raw/main/README.md>
- <https://gitlab.com/gitlab-org/gitlab-runner/-/raw/main/docs/_index.md>


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/gitlab-runner/config.toml, ~/.gitlab-runner/config.toml, ./config.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gitlab-runner
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - gitlab-runner: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/gitlab-runner/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - gitlab-runner - 19.0.1-r0: normalized package name match | Alpine Linux edge package indexes: gitlab-runner from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GitLab runner for CI/CD jobs | https://docs.gitlab.com/runner/
- apk - gitlab-runner-helper - 19.0.1-r0: normalized package name match | Alpine Linux edge package indexes: gitlab-runner-helper from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GitLab runner for CI/CD jobs (helper) | https://docs.gitlab.com/runner/
- apk - gitlab-runner-openrc - 19.0.1-r0: normalized package name match | Alpine Linux edge package indexes: gitlab-runner-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GitLab runner for CI/CD jobs (OpenRC init scripts) | https://docs.gitlab.com/runner/
- pacman - gitlab-runner - 19.0.1-1: normalized package name match | Arch Linux sync databases: gitlab-runner from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The official GitLab CI runner written in Go | https://gitlab.com/gitlab-org/gitlab-runner
- MacPorts - gitlab-runner: normalized package name match | MacPorts ports tree: devel/gitlab-runner/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - gitlab-runner: normalized package name match | Chocolatey community package catalog: gitlab-runner from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','gawk'
- Scoop - main/gitlab-runner: normalized package name match | Scoop official bucket manifest trees: bucket/gitlab-runner.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Gitlab.Runner: normalized package name match | Windows Package Manager source index: Gitlab.Runner from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [gitea-runner](https://www.automicvault.com/pkg/brew/gitea-runner/) - Shares av.db curated category or tags: automation, ci-cd, cli, developer-tools, runner.
- [gitlab-ci-linter](https://www.automicvault.com/pkg/brew/gitlab-ci-linter/) - Shares av.db curated category or tags: ci, ci-cd, cli, developer-tools, gitlab.
- [gitlab-ci-local](https://www.automicvault.com/pkg/brew/gitlab-ci-local/) - Shares av.db curated category or tags: ci, ci-cd, cli, developer-tools, gitlab.
- [actionlint](https://www.automicvault.com/pkg/brew/actionlint/) - Shares av.db curated category or tags: ci, ci-cd, cli, developer-tools.
- [actions-up](https://www.automicvault.com/pkg/brew/actions-up/) - Shares av.db curated category or tags: ci, ci-cd, cli, developer-tools.
- [codecov-cli](https://www.automicvault.com/pkg/brew/codecov-cli/) - Shares av.db curated category or tags: ci, ci-cd, cli, developer-tools.
- [dagger](https://www.automicvault.com/pkg/brew/dagger/) - Shares av.db curated category or tags: automation, ci-cd, cli, developer-tools.
- [jenkins-job-builder](https://www.automicvault.com/pkg/brew/jenkins-job-builder/) - Shares av.db curated category or tags: automation, ci-cd, cli, developer-tools.
- [gitlab-release-cli](https://www.automicvault.com/pkg/brew/gitlab-release-cli/) - Package names and metadata indicate a similar tool family. Shared terms: ci, cli, developer, developer-tools, gitlab.
- [glab](https://www.automicvault.com/pkg/brew/glab/) - Local package facts share a topical domain. Shared terms: ci-cd, cli, developer, developer-tools, gitlab.

## Combined YAML source

View the package source record on GitHub. [combined/gitlab-runner.yml](https://github.com/automic-vault/db/blob/main/combined/gitlab-runner.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
