glab packages list
List packages in a project’s package registry.
Synopsis
Packages of all types (generic, npm, maven, etc.) are returned. Use
--package-type to filter by type and --name to filter by name. Use
--page and --per-page to paginate the result.
By default, packages are listed for the current project. Use --repo
to target another project.
glab packages list [flags]Aliases
lsExamples
# List all packages in the current project
glab packages list
# Use the 'ls' alias
glab packages ls
# Filter by package name
glab packages list --name my-package
# List a specific page with a custom page size
glab packages list --page 2 --per-page 10
# List packages from another project
glab packages list -R owner/repo
Options
--jq string Filter JSON output with a jq expression.
-n, --name string Filter packages by name (substring match).
--package-type string Filter packages by type. One of: composer, conan, debian, generic, golang, helm, maven, npm, nuget, pypi, terraform_module.
-p, --page int Page number. (default 1)
-P, --per-page int Number of items to list per page. (default 30)Options inherited from parent commands
-h, --help Show help for this command.
-R, --repo string Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.