Use GitLab From the Terminal With glab

List and manage merge requests, issues and pipelines without a browser.

macOSapicloudgitcliLow risk
Run glab auth login, then glab mr list to see merge requests for the project.

01Command

Command
$ glab mr list

02What it does

glab is GitLab's official CLI, covering projects, merge requests, issues, pipelines and CI variables. It supports gitlab.com and self-managed instances via --hostname, and can create an MR from the current branch with glab mr create.

03Risk

RiskLow risk
CompatibilitymacOS with Homebrew installed
!Warning: For self-hosted GitLab set the host explicitly and confirm the token scopes you grant.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • Homebrew formula: glab
    Homebrew · vendor-doc · 2026-09-20
    Evidence: Packages glab, the official GitLab CLI for repositories and merge requests.

Last verified: 2026-09-22 · Category: Developer