glab adds packages list command group
Introduced 2026-06-17 · score 0.90
HOW TO USE IT
When listing packages in a GitLab repository, run `glab packages list` to list packages in the current project; use `--repo` to target another project.
glab packages listWHY THIS HELPS
List packages while working in a GitLab repository using glab.
REQUIREMENTS AND LIMITATIONS
- Version: v1.103.0
- --repo, -R <repository>: Select another repository; accepts OWNER/REPO, GROUP/NAMESPACE/REPO, a full URL, or a Git URL.
- --name, -n <string>: Filter packages by name using a substring match.
- --package-type <string>: Filter by package type: cargo, composer, conan, debian, generic, golang, helm, maven, ml_model, npm, nuget, pypi, rpm, rubygems, or terraform_module.
- --page, -p <int>: Select page number; default is 1.
- --per-page, -P <int>: Set the number of items per page; default is 30.
- --jq <string>: Filter JSON output with a jq expression.
- Prerequisite: Use existing `glab` authentication for the GitLab instance.
FIRST-PARTY EVIDENCE
- https://gitlab.com/gitlab-org/cli/-/releases/v1.103.0
- https://docs.gitlab.com/cli/packages/list/
- https://docs.gitlab.com/cli/packages/
Check the installed version and the source before using it. Entry JSON