Automic VaultAutomic Vault

brew

Install glab with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Open-source GitLab command-line tool. Version 1.107.0 via Homebrew; verified 2026-07-07.

agent safety

Agent safety answer

glab controls GitLab repositories, pipelines, releases, and authenticated project state.

Credential access

Reads GitLab tokens, config, and repository credentials.

Remote mutation

Can create releases, merge requests, issues, pipelines, and repo changes.

Publish/artifact risk

Can upload release assets and trigger CI/CD.

Recommended control

Gate token output, release, pipeline, and write commands.

Agent-use guidance

Allow read-only queries; require approval for releases, pipeline triggers, and project writes.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install glab

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install glab

MacPorts ports tree · devel/glab/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add glab

Alpine Linux edge package indexes · glab · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install glab

Debian stable package indexes · glab · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install glab

Fedora Rawhide package metadata · glab · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#glab

nixpkgs package indexes · pkgs/by-name/gl/glab/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S glab

Arch Linux sync databases · glab · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install glab

openSUSE Tumbleweed package metadata · glab · source: download.opensuse.org

overview

Package summary

Open-source GitLab command-line tool

Commands and aliases

  • glab

history

Project history and usage

GLab is the open-source GitLab command-line interface. It brings GitLab issues, merge requests, CI/CD pipelines, jobs, releases, repository operations, authentication, API access, and related DevOps tasks into the terminal beside Git.

Project history

GLab began as a community project by Clement Sam. GitLab's adoption announcement says he started work more than two years before December 2022 to make his workflow easier and avoid switching among browser tabs, IDE, and terminal.

The original profclems/glab GitHub repository was created in 2020 and gathered a community before GitLab adopted it. GitLab's announcement says more than 80 contributors had built on the tool before adoption, adding commands for merge requests, issues, pipelines, and more.

GitLab adopted the project in 2022 and moved it into gitlab-org/cli as the foundation of GitLab's native CLI experience. The transition included migrating project infrastructure, adapting GitHub Actions work to GitLab CI, reviewing security, and updating distribution methods to point to the new repository.

Adoption history

GLab's adoption is tied directly to GitLab's broader editor and terminal strategy. GitLab's announcement frames the CLI as another way to integrate GitLab with tools developers already use, following its earlier adoption of GitLab Workflow for VS Code.

The official README documents support for GitLab.com, GitLab Dedicated, and GitLab Self-Managed, with multiple authenticated GitLab instances and automatic host detection from Git remotes. Package metadata in this batch shows GLab in Homebrew, Chocolatey, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, Winget, openSUSE, and Alpine.

How it is used

Practitioners use glab to stay in the terminal while listing and creating issues, opening and reviewing merge requests, checking pipelines, retrying jobs, creating releases and changelogs, managing labels and milestones, calling the GitLab API, and configuring authentication.

The README shows a command structure of glab command subcommand flags and examples such as listing merge requests assigned to the user, approving a merge request, and creating an issue with milestone, title, and label. Authentication can use OAuth, personal access tokens, CI job tokens, and host-specific configuration.

Why package nerds care

GLab matters to package maintainers because it is the GitLab-side counterpart to the habit of doing forge work from a shell. It turns GitLab from a browser destination into a scriptable CLI surface for local development and CI contexts.

Its history also shows a common open-source lifecycle: a community tool proved demand, then the platform vendor adopted it, moved distribution, and expanded support for enterprise and self-managed installations.

Timeline

  • 2020: The original profclems/glab repository is created on GitHub.
  • 2022: GitLab adopts glab and announces it as the foundation of GitLab's native CLI experience.
  • 2022: GitLab moves the project toward gitlab-org/cli and updates distribution methods.
  • 2023: GitLab CLI v1.29.1 appears in the GitLab releases feed after the adoption.
  • 2026: The GitLab-hosted repository and docs describe broad command coverage for issues, merge requests, CI/CD, releases, APIs, authentication, and GitLab instances.

Related projects

  • GitLab is the forge and DevSecOps platform targeted by GLab.
  • Git provides the local repository context used for host detection and developer workflows.
  • GitLab Workflow for VS Code is cited by GitLab as a related integration effort.
  • 1Password Shell Plugins are documented by GitLab as an authentication integration.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for glab. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

macOS
~/Library/Application Support/glab-cli/config.yml
Unix
$XDG_CONFIG_HOME/glab-cli/config.yml~/.config/glab-cli/config.yml

Credential files

Credential-bearing paths to review before unattended agent runs.

macOS
~/Library/Application Support/glab-cli/config.yml
Unix
$XDG_CONFIG_HOME/glab-cli/config.yml~/.config/glab-cli/config.yml

executables

Installed executables

CommandKindExposureNote
glabcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.107.0
manager updated2026-07-07
local dataok
upstreamnot checked
latest detectednot detected

https://gitlab.com/gitlab-org/cli

install metadata

Package metadata

Package keybrew:glab
Version1.107.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/glab
Homepagehttps://gitlab.com/gitlab-org/cli
Repositoryhttps://gitlab.com/gitlab-org/cli
Upstream docshttps://docs.gitlab.com/cli
LicenseMIT
Source archivehttps://gitlab.com/gitlab-org/cli.git
Last updated2026-07-07T13:35:22Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameglab
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

glab 1.53.0-1+b3

commandline interface for gitlab instances

https://gitlab.com/gitlab-org/cli

sudo apt install glab
  • Section: vcs
  • Architecture: amd64
  • Source Package: glab
  • 1 dependencies
  • normalized package name match
  • Matched by: Glab
Debian stable package indexes · deb.debian.org · Debian stable package indexes: glab from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

glab

nix profile install nixpkgs#glab
  • normalized package name match
  • Matched by: Glab
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gl/glab/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

glab 1.36.0-1

commandline interface for gitlab instances

https://gitlab.com/gitlab-org/cli

sudo apt install glab
  • Section: universe/vcs
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Glab
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: glab from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

glab 1.102.0-r0

Open source GitLab CLI tool written in Go

https://gitlab.com/gitlab-org/cli

sudo apk add glab
  • License: MIT
  • Architecture: x86_64
  • Source Package: glab
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Glab
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: glab from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

glab-bash-completion 1.102.0-r0

Bash completions for glab

https://gitlab.com/gitlab-org/cli

sudo apk add glab-bash-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: glab
  • normalized package name match
  • Matched by: Glab
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: glab-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

glab-doc 1.102.0-r0

Open source GitLab CLI tool written in Go (documentation)

https://gitlab.com/gitlab-org/cli

sudo apk add glab-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: glab
  • normalized package name match
  • Matched by: Glab
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: glab-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

glab-fish-completion 1.102.0-r0

Fish completions for glab

https://gitlab.com/gitlab-org/cli

sudo apk add glab-fish-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: glab
  • normalized package name match
  • Matched by: Glab
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: glab-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

glab-zsh-completion 1.102.0-r0

Zsh completions for glab

https://gitlab.com/gitlab-org/cli

sudo apk add glab-zsh-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: glab
  • normalized package name match
  • Matched by: Glab
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: glab-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

glab 1.95.0-1.fc45

A GitLab CLI tool bringing GitLab to your command line

https://gitlab.com/gitlab-org/cli

sudo dnf install glab
  • License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 AND (FTL OR GPL-2.0-or-later)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: glab
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Glab
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: glab from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

glab 1.102.0-1

Cli tool to help work seamlessly with GitLab from the command line

https://gitlab.com/gitlab-org/cli

sudo pacman -S glab
  • License: MIT
  • Architecture: x86_64
  • 1 dependencies
  • normalized package name match
  • Matched by: Glab
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: glab from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

glab 1.101.0-1.1

A GitLab command line tool

https://gitlab.com/gitlab-org/cli

sudo zypper install glab
  • License: MIT
  • Category: Development/Tools/Other
  • Architecture: x86_64
  • Source Package: glab
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Glab
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: glab from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

glab-bash-completion 1.101.0-1.1

Bash completion for glab

https://gitlab.com/gitlab-org/cli

sudo zypper install glab-bash-completion
  • License: MIT
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: glab
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Glab
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: glab-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

glab-doc 1.101.0-1.1

Documentation for GLab

https://gitlab.com/gitlab-org/cli

sudo zypper install glab-doc
  • License: MIT
  • Category: Documentation/HTML
  • Architecture: noarch
  • Source Package: glab
  • 1 provides
  • normalized package name match
  • Matched by: Glab
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: glab-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

glab-fish-completion 1.101.0-1.1

Fish completion for glab

https://gitlab.com/gitlab-org/cli

sudo zypper install glab-fish-completion
  • License: MIT
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: glab
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Glab
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: glab-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

glab-zsh-completion 1.101.0-1.1

Zsh completion for glab

https://gitlab.com/gitlab-org/cli

sudo zypper install glab-zsh-completion
  • License: MIT
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: glab
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Glab
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: glab-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

glab

sudo port install glab
  • normalized package name match
  • Matched by: Glab
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/glab/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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