# gitlab-gem mit Homebrew, Nix, pacman installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für gitlab-gem in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install gitlab-gem
```

  Evidenz: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

- pacman (92%):

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

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

## Paketfakten

- **Paketschlüssel:** brew:gitlab-gem
- **Paketmanager:** Homebrew
- **Version:** 6.1.0
- **Quellzusammenfassung:** Ruby client and CLI for GitLab API
- **Homepage:** <https://narkoz.github.io/gitlab/>
- **Repository:** <https://github.com/NARKOZ/gitlab>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- gitlab (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 6.1.0
## Projektgeschichte und Nutzung

GitLab Ruby Gem, packaged by Homebrew as `gitlab-gem`, is a Ruby client library and command-line interface for the GitLab REST API. It lets Ruby programs and terminal users call GitLab API methods for users, projects, merge requests, branches, groups, and related resources.

### Projektgeschichte

The NARKOZ/gitlab repository was created in September 2012, making it one of the earlier third-party client libraries for GitLab automation. The README describes the package as both a Ruby wrapper and a CLI for the GitLab API, with installation through RubyGems, Bundler, and Homebrew.

The gem evolved with GitLab's API versions and Ruby packaging norms. Its README documents endpoint and token configuration, client initialization, pagination helpers, CLI command dispatch to client methods, an interactive CLI shell, and development against either a Dockerized GitLab instance or an external GitLab instance.

### Adoptionsgeschichte

The package's adoption is visible in RubyGems metadata: the API response collected for this enrichment reported over 112 million gem downloads. That scale reflects long-running use in Ruby automation, scripts, internal tools, and CI jobs that need GitLab API access without hand-written HTTP calls.

Homebrew's `gitlab-gem` formula exists because the gem also exposes a `gitlab` executable, giving non-Ruby specialists a packaged CLI route to the same API client.

### Wie es verwendet wird

Practitioners configure `GITLAB_API_ENDPOINT` and `GITLAB_API_PRIVATE_TOKEN`, or configure those values in Ruby with `Gitlab.configure`. CLI users call client methods as commands, such as `gitlab users`, `gitlab user`, and `gitlab create_merge_request`, with YAML-style option hashes where needed.

### Warum Paket-Nerds sich dafür interessieren

For package maintainers, `gitlab-gem` is a reminder that language packages can become general-purpose command-line tools. The Homebrew formula wraps a RubyGem so developers can install a GitLab API CLI without thinking about Bundler, while Ruby users still get the library through the normal gem ecosystem.

### Zeitleiste

- 2012: Repository created for a Ruby GitLab API wrapper.
- 2012: Package documented Ruby library and CLI usage against GitLab.
- 2024: v5.x releases continued API-client maintenance.
- 2025: v6.1.0 release published on GitHub.

### Related projects

- Related surfaces include GitLab's REST API, RubyGems, RubyDoc, Bundler, Homebrew, HTTParty, and GitLab CE or EE instances used for development and testing.

### Quellen

- <https://api.github.com/repos/NARKOZ/gitlab>
- <https://github.com/NARKOZ/gitlab>
- <https://github.com/NARKOZ/gitlab/releases/tag/v6.1.0>
- <https://raw.githubusercontent.com/NARKOZ/gitlab/master/README.md>
- <https://rubygems.org/api/v1/gems/gitlab.json>
- <https://rubygems.org/gems/gitlab>
- <https://www.rubydoc.info/gems/gitlab>


## Sicherheitshinweise

broad file, network, media, or database tool signal.

- **Geiger-Risiko:** blue / mittel
- broad file, network, media, or database tool signal

## Andere Paketmanager-Einträge

- Nix - gitlab: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/gi/gitlab/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - gitlab - 19.2.1-1: installed executable or alias match | Arch Linux sync databases: gitlab from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Project management and code hosting application | https://gitlab.com/gitlab-org/gitlab-foss


## Combined YAML source

View the package source record on GitHub. [combined/gitlab-gem.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gitlab-gem.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
