# GitLab CLI

> A GitLab CLI tool bringing GitLab to your command line

Source: https://talira.ai/catalog/gitlab-cli-2rsyt78e
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / git / forges](https://talira.ai/categories/developer-tools/git/forges), [developer tools / cli](https://talira.ai/categories/developer-tools/cli)
- Platforms: macos, linux, windows[^4]
- Licence: MIT[^3]
- Pricing: Free and open source[^3]
- Free tier: yes[^3]
- Self-hostable: yes[^4]
- Backed by: [GitLab](https://talira.ai/orgs/gitlab.md)
- Funding: public company (NASDAQ:GTLB)[^5]

GLab (`glab`) is [GitLab](https://talira.ai/catalog/gitlab-y85n5jcy.md)'s open source command-line tool: it brings issues, merge requests, CI/CD pipelines and jobs, releases, changelogs, variables, runners, container and package registries and GitLab agents for [Kubernetes](https://talira.ai/catalog/kubernetes-ftsegx3m.md) to the terminal, next to `git`, plus `glab api` for any GitLab API call and `glab duo cli` for GitLab Duo. It works with GitLab.com, GitLab Dedicated and GitLab Self-Managed 16.0 and later, supports several authenticated instances and picks the host from your [Git](https://talira.ai/catalog/git-ab5bez9f.md) remotes. It is MIT licensed, written in Go, and [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md) is its officially supported package manager on [macOS](https://talira.ai/catalog/macos-8swyggxb.md), Linux and Windows (through WSL).

## Links

- Website: https://docs.gitlab.com/cli/
- GitLab: https://gitlab.com/gitlab-org/cli
- Docs: https://docs.gitlab.com/cli/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/glab>[^1]
- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/glab>[^2]

## Problems it solves

- create, review and approve GitLab merge requests without leaving the terminal
- list the merge requests waiting for my review from the command line
- watch, retry and debug GitLab CI pipelines and jobs from my terminal
- open a GitLab issue with a milestone and labels in one command
- generate a changelog and publish a GitLab release from a script
- manage CI/CD variables for a GitLab project or group from the command line
- work with several GitLab instances, including our self-managed server, from one tool
- make authenticated GitLab API calls from a shell script without handling tokens myself
- manage GitLab runners and Kubernetes agents from the terminal

## Features

- merge requests and issues
- CI/CD pipelines, jobs and schedules
- releases and changelogs
- `glab api` for authenticated API requests
- CI/CD variables, deploy keys and tokens
- runners and GitLab agents for Kubernetes
- container and package registries
- GitLab Duo in the terminal (`glab duo cli`)
- aliases
- multiple authenticated GitLab instances
- stacked diffs (experimental)
- agent skills (experimental)

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.42 out of 1.
Signals: backing 0.55, extensibility 0.20.

- backed by GitLab
- funding: public company (NASDAQ:GTLB)

Warnings:

- GitLab activity not fetched yet

## Related

- Works with [GitLab](https://talira.ai/catalog/gitlab-y85n5jcy.md)

## Alternatives

- [CircleCI CLI](https://talira.ai/catalog/circleci-cli-z9af271a.md): Use CircleCI from the command line
- [GitHub CLI (gh)](https://talira.ai/catalog/github-cli-gh-07he52ta.md): GitHub's official command line tool

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 21 Nov 2026)
[^3]: https://gitlab.com/gitlab-org/cli/-/blob/main/LICENSE (checked 19 Nov 2026)
[^4]: https://gitlab.com/gitlab-org/cli/-/blob/main/README.md (checked 19 Nov 2026)
[^5]: https://about.gitlab.com/company/ (checked 20 Nov 2026)
