# 使用 Homebrew, apk, Nix, scoop, pacman 安装 gitlab-release-cli

查看 gitlab-release-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:gitlab-release-cli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gitlab-release-cli
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add gitlab-release-cli
```

  证据: Alpine Linux edge package indexes: gitlab-release-cli from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#gitlab-release-cli
```

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

- pacman (92%):

```sh
sudo pacman -S release-cli
```

  证据: Arch Linux sync databases: release-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/gitlab-release-cli
```

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

## 软件包事实

- **软件包键:** brew:gitlab-release-cli
- **软件包管理器:** Homebrew
- **版本:** 0.24.0
- **来源摘要:** Toolset to create, retrieve and update releases on GitLab
- **主页:** <https://gitlab.com/gitlab-org/release-cli>
- **最后更新:** 2026-07-27T16:47:23+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- release-cli (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.24.0
## 项目历史与用法

GitLab Release CLI is a small Go command-line tool created by GitLab to bridge GitLab CI/CD jobs and the GitLab Releases API. Its role is narrower than a general release manager: it turns release metadata from CI jobs or command-line flags into GitLab Release objects.

### 项目历史

The project was introduced with GitLab 12.10 and published as a separate GitLab-hosted repository in 2020. The repository documentation describes it as a decoupled utility that can be invoked by GitLab Runner, third-party CI systems, or directly from a shell.

GitLab's documentation later moved release automation toward the broader glab CLI. The Release CLI page marks the feature as deprecated in GitLab 18.0 and describes a migration path from release-cli to glab for CI/CD jobs using the release keyword.

### 采用历史

Release CLI's adoption followed GitLab CI/CD rather than a broad stand-alone CLI community. It mattered most to teams that wanted release objects, changelog text, tag metadata, and asset links produced as part of a GitLab pipeline.

### 使用方式

Practitioners use release-cli inside jobs defined in .gitlab-ci.yml, often on tag pipelines, where CI-provided values such as CI_JOB_TOKEN and CI_PROJECT_ID authenticate the Releases API call. The tool can also create, read, and update releases from a terminal when supplied with an access token and project information.

### 为什么软件包爱好者会关心

For package maintainers, release-cli is an example of a vendor-specific CI helper that escaped the container image boundary and became a packaged binary in systems such as Homebrew. Its maintenance-mode status also shows the lifecycle risk of packaging a narrow integration tool after the vendor folds the workflow into a larger CLI.

### 时间线

- 2020: Introduced with GitLab 12.10 and released as v0.1.0.
- 2025: v0.24.0 appeared in the project release stream.
- GitLab 18.0: GitLab documentation marked release-cli as deprecated in favor of glab.

### Related projects

- GitLab Runner passes CI job context to release-cli when release jobs are executed.
- glab is the GitLab CLI named by GitLab documentation as the migration target for release workflows.

### 来源

- <https://docs.gitlab.com/user/project/releases/release_cli/>
- <https://formulae.brew.sh/formula/gitlab-release-cli>
- <https://gitlab.com/api/v4/projects/gitlab-org%2Frelease-cli>
- <https://gitlab.com/gitlab-org/release-cli>
- <https://gitlab.com/gitlab-org/release-cli/-/raw/master/docs/index.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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: .gitlab-ci.yml
## 其他软件包管理器记录

- Nix - gitlab-release-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/gitlab-release-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - gitlab-release-cli - 0.24.0-r11: normalized package name match | Alpine Linux edge package indexes: gitlab-release-cli from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GitLab Release command-line tool | https://gitlab.com/gitlab-org/release-cli
- apk - gitlab-release-cli-doc - 0.24.0-r11: normalized package name match | Alpine Linux edge package indexes: gitlab-release-cli-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GitLab Release command-line tool (documentation) | https://gitlab.com/gitlab-org/release-cli
- Scoop - main/gitlab-release-cli: normalized package name match | Scoop official bucket manifest trees: bucket/gitlab-release-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- pacman - release-cli - 0.24.0-1: installed executable or alias match | Arch Linux sync databases: release-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Gitlab Release CLI | https://gitlab.com/gitlab-org/release-cli


## Combined YAML source

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


## 来源

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