[Go to site: main page, start]

Skip to main content Go to GitLab Docs homepage
What's new?
What's new? Get free trial
  • Use GitLab
  • GitLab Duo
  • GitLab Orbit
  • Extend
  • Install
  • Administer
  • Subscribe
  • Contribute
  • Solutions
Getting started
Tutorials
Integrations
Webhooks
REST API
GraphQL API
OAuth 2.0 identity provider API
GitLab MCP server
GitLab Duo CLI (duo)
GitLab CLI (glab)
Authenticate with GitLab
Commands
glab alias
glab api
glab attestation
glab auth
glab changelog
glab check-update
glab ci
glab cluster
glab completion
glab config
glab container-registry
glab deploy-key
glab duo
glab gpg-key
glab incident
glab issue
glab iteration
glab job
glab label
glab mcp
glab milestone
glab mr
glab opentofu
glab orbit
glab packages
glab release
glab repo
glab runner
glab runner-controller
glab schedule
glab search
glab securefile
glab security
glab skills
glab snippet
glab ssh-key
glab stack
glab todo
glab token
glab user
glab variable
glab version
glab whatsnew
glab work-items
Editor and IDE extensions
  1. GitLab Docs /
  2. Extend /
  3. GitLab CLI (glab) /
  4. Commands
Help us learn about your current experience with the documentation. Take the survey.

Commands

  • Tier: Free, Premium, Ultimate
  • Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated

glab provides these top-level commands. Each page describes the command’s subcommands, options, and examples.

  • glab alias
  • glab api
  • glab artifact-registry
  • glab attestation
  • glab auth
  • glab changelog
  • glab check-update
  • glab ci
  • glab cluster
  • glab completion
  • glab config
  • glab container-registry
  • glab dependency-firewall
  • glab deploy-key
  • glab duo
  • glab gpg-key
  • glab incident
  • glab issue
  • glab iteration
  • glab job
  • glab label
  • glab mcp
  • glab milestone
  • glab mr
  • glab opentofu
  • glab orbit
  • glab packages
  • glab release
  • glab repo
  • glab runner
  • glab runner-controller
  • glab schedule
  • glab search
  • glab securefile
  • glab security
  • glab skills
  • glab snippet
  • glab ssh-key
  • glab stack
  • glab todo
  • glab token
  • glab user
  • glab variable
  • glab version
  • glab whatsnew
  • glab work-items
GitLab Docs logo
  • Facebook
  • LinkedIn
  • Twitter
  • YouTube
Creative Commons License
Company
  • About GitLab
  • View pricing
  • Try GitLab for free
Feedback
  • View page source
  • Edit in Web IDE
  • Contribute to GitLab
  • Suggest updates
Help & Community
  • Get certified
  • Get support
  • Post on the GitLab forum
Resources
  • Terms
  • Privacy statement
  • Use of generative AI
  • Acceptable use of user licenses