pkg.sopackage field notes

brew / rank 206

Install glab with Homebrew

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

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

provider-native install command

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 bottle metadata was recorded.

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
glabexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version1.111.0
manager updated2026-07-30
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:glab
Version1.111.0
Package managerHomebrew
Homepagehttps://gitlab.com/gitlab-org/cli
Last updated2026-07-30T22:47:44Z
Pulseupdated
Bottlenot recorded
Servicenone declared

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
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • pkgdb category and tag curation