Package glab

A GitLab CLI tool bringing GitLab to your command line

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

Version: 1.102.0

General Commands

glab A GitLab CLI tool.
glab-alias Create, list, and delete aliases.
glab-alias-delete Delete an alias.
glab-alias-list List aliases.
glab-alias-set Set an alias for a longer command.
glab-api Make an authenticated request to the GitLab API.
glab-attestation Manage software attestations. (EXPERIMENTAL)
glab-attestation-verify Verify the provenance of a specific artifact or file. (EXPERIMENTAL)
glab-auth Manage authentication for glab.
glab-auth-configure-docker Register glab as a Docker credential helper.
glab-auth-docker-helper A Docker credential helper for GitLab container registries.
glab-auth-dpop-gen Generate a DPoP (demonstrating-proof-of-possession) proof JWT. (EXPERIMENTAL)
glab-auth-login Authenticate with a GitLab instance.
glab-auth-logout Log out from a GitLab instance.
glab-auth-status View authentication status.
glab-changelog Generate changelogs from your project's commit history.
glab-changelog-generate Generate a changelog for the current project.
glab-check-update Check for the latest glab version.
glab-ci Work with GitLab CI/CD pipelines and jobs.
glab-ci-cancel Cancel a running pipeline or job.
glab-ci-cancel-job Cancel CI/CD jobs.
glab-ci-cancel-pipeline Cancel CI/CD pipelines.
glab-ci-config View and inspect GitLab CI/CD configuration.
glab-ci-config-compile View the merged CI/CD configuration.
glab-ci-delete Delete CI/CD pipelines.
glab-ci-get Get the details of a CI/CD pipeline.
glab-ci-lint Check if your .gitlab-ci.yml file is valid.
glab-ci-list List CI/CD pipelines.
glab-ci-retry Retry a CI/CD job.
glab-ci-run Create a new CI/CD pipeline.
glab-ci-run-trig Run a CI/CD pipeline trigger.
glab-ci-status View CI/CD pipeline status.
glab-ci-trace Trace a CI/CD job log in real time.
glab-ci-trigger Trigger a manual CI/CD job.
glab-ci-view View, run, retry, and cancel CI/CD pipeline jobs.
glab-cluster Manage GitLab Agents for Kubernetes and their clusters.
glab-cluster-agent Manage GitLab Agents for Kubernetes.
glab-cluster-agent-bootstrap Bootstrap a GitLab Agent for Kubernetes in a project.
glab-cluster-agent-check_manifest_usage Find agents using deprecated GitOps manifest settings. (EXPERIMENTAL)
glab-cluster-agent-get-token Create a personal access token for a GitLab Agent for Kubernetes.
glab-cluster-agent-list List GitLab Agents for Kubernetes in a project.
glab-cluster-agent-token Manage GitLab Agents for Kubernetes tokens.
glab-cluster-agent-token-cache Manage cached GitLab Agent tokens.
glab-cluster-agent-token-cache-clear Clear cached GitLab Agent tokens.
glab-cluster-agent-token-cache-list List cached GitLab Agent tokens.
glab-cluster-agent-token-list List tokens for a GitLab Agent for Kubernetes.
glab-cluster-agent-token-revoke Revoke an agent token.
glab-cluster-agent-update-kubeconfig Update your kubeconfig for use with a GitLab Agent for Kubernetes.
glab-cluster-graph Query the Kubernetes object graph using the GitLab Agent for Kubernetes. (EXPERIMENTAL)
glab-completion Generate shell completion scripts.
glab-config Manage glab settings.
glab-config-edit Opens the glab configuration file.
glab-config-get Prints the value of a given configuration key.
glab-config-set Updates configuration with the value of a given key.
glab-deploy-key Manage deploy keys.
glab-deploy-key-add Add a deploy key to a GitLab project.
glab-deploy-key-delete Deletes a single deploy key specified by the ID.
glab-deploy-key-get Returns a single deploy key specified by the ID.
glab-deploy-key-list Get a list of deploy keys for the current project.
glab-duo Work with GitLab Duo.
glab-duo-cli Run the GitLab Duo CLI (Beta)
glab-gpg-key Manage GPG keys registered with your GitLab account.
glab-gpg-key-add Add a GPG key to your GitLab account.
glab-gpg-key-delete Deletes a single GPG key specified by the ID.
glab-gpg-key-get Returns a single GPG key specified by the ID.
glab-gpg-key-list Get a list of GPG keys for the currently authenticated user.
glab-incident Work with GitLab incidents.
glab-incident-close Close an incident.
glab-incident-list List project incidents.
glab-incident-note Comment on an incident in GitLab.
glab-incident-reopen Reopen a resolved incident.
glab-incident-subscribe Subscribe to an incident.
glab-incident-unsubscribe Unsubscribe from an incident.
glab-incident-view Display the title, body, and other information about an incident.
glab-issue Work with GitLab issues.
glab-issue-board Work with GitLab issue boards in the given project.
glab-issue-board-create Create a project issue board.
glab-issue-board-view View project issue board.
glab-issue-close Close an issue.
glab-issue-create Create an issue.
glab-issue-delete Delete an issue.
glab-issue-list List project issues.
glab-issue-note Comment on an issue in GitLab.
glab-issue-reopen Reopen a closed issue.
glab-issue-subscribe Subscribe to an issue.
glab-issue-unsubscribe Unsubscribe from an issue.
glab-issue-update Update issue.
glab-issue-view Display the title, body, and other information about an issue.
glab-iteration Retrieve iteration information.
glab-iteration-list List project iterations.
glab-job Work with GitLab CI/CD jobs.
glab-job-artifact Download all artifacts from the most recent pipeline.
glab-label Manage labels on remote.
glab-label-create Create a label in a project.
glab-label-delete Delete a label from a project.
glab-label-edit Edit a label in a project.
glab-label-get Get information about a single label by ID.
glab-label-list List labels in a project or group.
glab-mcp Work with a Model Context Protocol (MCP) server. (EXPERIMENTAL)
glab-mcp-serve Start a MCP server with stdio transport. (EXPERIMENTAL)
glab-milestone Manage group or project milestones.
glab-milestone-create Create a milestone in a project or group.
glab-milestone-delete Delete a milestone from a project or group.
glab-milestone-edit Edit a milestone in a project or group.
glab-milestone-get Get a milestone by ID in a project or group.
glab-milestone-list List milestones in a project or group.
glab-mr Create, view, and manage merge requests.
glab-mr-approve Approve merge requests.
glab-mr-approvers List eligible approvers for merge requests in any state.
glab-mr-checkout Check out an open merge request.
glab-mr-close Close a merge request.
glab-mr-create Create a new merge request.
glab-mr-delete Delete a merge request.
glab-mr-diff View changes in a merge request.
glab-mr-issues Get issues that close when a merge request is merged.
glab-mr-list List merge requests.
glab-mr-merge Merge or accept a merge request.
glab-mr-note Manage comments and discussions on a merge request.
glab-mr-note-create Create a comment or discussion on a merge request. (EXPERIMENTAL)
glab-mr-note-delete Delete a note from a merge request. (EXPERIMENTAL)
glab-mr-note-list List merge request discussions. (EXPERIMENTAL)
glab-mr-note-reopen Reopen a discussion on a merge request. (EXPERIMENTAL)
glab-mr-note-resolve Resolve a discussion on a merge request. (EXPERIMENTAL)
glab-mr-note-update Update the body of a note on a merge request. (EXPERIMENTAL)
glab-mr-rebase Rebase the source branch of a merge request against its target branch.
glab-mr-reopen Reopen a merge request.
glab-mr-revoke Revoke approval on a merge request.
glab-mr-subscribe Subscribe to a merge request.
glab-mr-todo Add a to-do item to a merge request.
glab-mr-unsubscribe Unsubscribe from a merge request.
glab-mr-update Update a merge request.
glab-mr-view Display the title, body, and other information about a merge request.
glab-opentofu Work with the OpenTofu or Terraform integration.
glab-opentofu-init Initialize OpenTofu or Terraform.
glab-opentofu-state Work with the OpenTofu or Terraform states.
glab-opentofu-state-delete Delete a state or a specific version of a state.
glab-opentofu-state-download Download the given state and output as JSON to stdout.
glab-opentofu-state-list List states.
glab-opentofu-state-lock Lock the given state.
glab-opentofu-state-unlock Unlock the given state.
glab-orbit GitLab Knowledge Graph commands. (EXPERIMENTAL)
glab-orbit-local Run the Orbit local CLI (Experimental)
glab-orbit-remote Interact with the remote GitLab Knowledge Graph. (EXPERIMENTAL)
glab-orbit-remote-dsl Show the GitLab Knowledge Graph query DSL JSON Schema. (EXPERIMENTAL)
glab-orbit-remote-graph-status Show indexing progress for a namespace or project. (EXPERIMENTAL)
glab-orbit-remote-query Execute a GitLab Knowledge Graph query. (EXPERIMENTAL)
glab-orbit-remote-schema Show the GitLab Knowledge Graph ontology. (EXPERIMENTAL)
glab-orbit-remote-status Show GitLab Knowledge Graph cluster health. (EXPERIMENTAL)
glab-orbit-remote-tools Show the GitLab Knowledge Graph MCP tool manifest. (EXPERIMENTAL)
glab-orbit-setup Guided setup for Orbit: verify access, install the skill, install the local CLI. (EXPERIMENTAL)
glab-release Manage GitLab releases.
glab-release-create Create a new GitLab release, or update an existing one.
glab-release-delete Delete a GitLab release.
glab-release-download Download asset files from a GitLab release.
glab-release-list List releases in a repository.
glab-release-upload Upload release asset files or links to a GitLab release.
glab-release-view View information about a GitLab release.
glab-repo Work with GitLab repositories and projects.
glab-repo-archive Get an archive of the repository.
glab-repo-clone Clone a GitLab repository or project.
glab-repo-contributors Get repository contributors list.
glab-repo-create Create a new GitLab project/repository.
glab-repo-delete Delete an existing project on GitLab.
glab-repo-fork Fork a GitLab repository.
glab-repo-list Get list of repositories.
glab-repo-members Manage project members.
glab-repo-members-add Add a member to the project.
glab-repo-members-remove Remove a member from the project.
glab-repo-mirror Configure mirroring on an existing project to sync with a remote repository.
glab-repo-prune Delete local Git branches whose merge request has been merged.
glab-repo-publish Publishes resources in the project.
glab-repo-publish-catalog [EXPERIMENTAL] Publishes CI/CD components to the catalog.
glab-repo-remote Manage Git remotes for a GitLab project.
glab-repo-remote-add Add a Git remote for a GitLab project.
glab-repo-search Search for GitLab repositories and projects by name.
glab-repo-transfer Transfer a repository to a new namespace.
glab-repo-update Update an existing GitLab project or repository.
glab-repo-view View a project or repository.
glab-runner Manage GitLab CI/CD runners.
glab-runner-assign Assign a runner to a project.
glab-runner-controller Manage runner controllers. (EXPERIMENTAL)
glab-runner-controller-create Create a runner controller. (EXPERIMENTAL)
glab-runner-controller-delete Delete a runner controller. (EXPERIMENTAL)
glab-runner-controller-get Get details of a runner controller. (EXPERIMENTAL)
glab-runner-controller-list List runner controllers. (EXPERIMENTAL)
glab-runner-controller-scope Manage runner controller scopes. (EXPERIMENTAL)
glab-runner-controller-scope-create Create a scope for a runner controller. (EXPERIMENTAL)
glab-runner-controller-scope-delete Delete a scope from a runner controller. (EXPERIMENTAL)
glab-runner-controller-scope-list List scopes for a runner controller. (EXPERIMENTAL)
glab-runner-controller-token Manage runner controller tokens. (EXPERIMENTAL)
glab-runner-controller-token-create Create a token for a runner controller. (EXPERIMENTAL)
glab-runner-controller-token-list List tokens for a runner controller. (EXPERIMENTAL)
glab-runner-controller-token-revoke Revoke a token from a runner controller. (EXPERIMENTAL)
glab-runner-controller-token-rotate Rotate a token for a runner controller. (EXPERIMENTAL)
glab-runner-controller-update Update a runner controller. (EXPERIMENTAL)
glab-runner-delete Delete a runner.
glab-runner-jobs List jobs processed by a runner.
glab-runner-list List runners.
glab-runner-managers List runner managers.
glab-runner-unassign Unassign a runner from a project.
glab-runner-update Update a runner.
glab-schedule Work with GitLab CI/CD schedules.
glab-schedule-create Create a new pipeline schedule.
glab-schedule-delete Delete a pipeline schedule by ID.
glab-schedule-list List pipeline schedules in a project.
glab-schedule-run Trigger a pipeline schedule to run immediately.
glab-schedule-update Update a pipeline schedule.
glab-search Search for code and resources in a GitLab project. (BETA)
glab-search-semantic Search project code using natural language.
glab-securefile Manage secure files for a project.
glab-securefile-create Upload a new secure file to a project.
glab-securefile-download Download one or more secure files from a project.
glab-securefile-get Get details of a secure file by ID.
glab-securefile-list List secure files in a project.
glab-securefile-remove Remove a secure file from a project.
glab-skills Manage glab agent skills. (EXPERIMENTAL)
glab-skills-install Install glab's bundled agent skills. (EXPERIMENTAL)
glab-skills-list List the available bundled agent skills. (EXPERIMENTAL)
glab-skills-update Update installed agent skills to the current shipped version. (EXPERIMENTAL)
glab-snippet Create, view and manage snippets.
glab-snippet-create Create a new snippet.
glab-ssh-key Manage SSH keys registered with your GitLab account.
glab-ssh-key-add Add an SSH key to your GitLab account.
glab-ssh-key-delete Deletes a single SSH key specified by the ID.
glab-ssh-key-get Returns a single SSH key specified by the ID.
glab-ssh-key-list Get a list of SSH keys for the currently authenticated user.
glab-stack Create, manage, and work with stacked diffs. (EXPERIMENTAL)
glab-stack-amend Save more changes to a stacked diff. (EXPERIMENTAL)
glab-stack-create Create a new stacked diff. (EXPERIMENTAL)
glab-stack-first Moves to the first diff in the stack. (EXPERIMENTAL)
glab-stack-infer Add layers to a stack based on a range of commits. (EXPERIMENTAL)
glab-stack-last Moves to the last diff in the stack. (EXPERIMENTAL)
glab-stack-list Lists all entries in the stack. (EXPERIMENTAL)
glab-stack-move Moves to any selected entry in the stack. (EXPERIMENTAL)
glab-stack-next Moves to the next diff in the stack. (EXPERIMENTAL)
glab-stack-prev Moves to the previous diff in the stack. (EXPERIMENTAL)
glab-stack-reorder Reorder a stack of merge requests. (EXPERIMENTAL)
glab-stack-save Save your progress within a stacked diff. (EXPERIMENTAL)
glab-stack-switch Switch between stacks. (EXPERIMENTAL)
glab-stack-sync Sync and submit progress on a stacked diff. (EXPERIMENTAL)
glab-todo Manage your to-do list.
glab-todo-done Mark a to-do item as done.
glab-todo-list List your to-do items.
glab-token Manage personal, project, or group tokens.
glab-token-create Creates user, group, or project access tokens.
glab-token-list List user, group, or project access tokens.
glab-token-revoke Revoke user, group, or project access tokens.
glab-token-rotate Rotate user, group, or project access tokens.
glab-user Interact with a GitLab user account.
glab-user-events View user events.
glab-variable Manage variables for a GitLab project or group.
glab-variable-delete Delete a variable for a project or group.
glab-variable-export Export variables from a project or group.
glab-variable-get Get a variable for a project or group.
glab-variable-list List variables for a project or group.
glab-variable-set Create a new variable for a project or group.
glab-variable-update Update an existing variable for a project or group.
glab-version Show version information for glab.
glab-whatsnew Show release notes for new versions of glab.
glab-work-items Manage work items. (EXPERIMENTAL)
glab-work-items-create Create work items in a project or group. (EXPERIMENTAL)
glab-work-items-delete Delete a work item in a project or group. (EXPERIMENTAL)
glab-work-items-list List work items in a project or group. (EXPERIMENTAL)
glab-work-items-update Update work items in a project or group. (EXPERIMENTAL)