glab(1)

πŸ“¦
version 1.128.0 Β· 3 versions
, in arch rolling

πŸ’… glab(1) β€” the glab packages list era

okay bestie, buckle up, because this page is from glab(1) and it's genuinely one of the cutest little commands in the whole CLI πŸŽ€ it does exactly one thing and it does it well: it lists the packages chilling in a project's package registry ✨


✨ NAME ✨

glab-packages-list β€” List packages in a project's package registry πŸ’–


🌸 SYNOPSIS 🌸

glab packages list [flags]

that's it. that's the whole vibe. flags are your besties here 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so, like β€” ngl, this is the good part πŸ’…

Packages of all types (generic, npm, maven, etc.) are returned. no gatekeeping, every single package type shows up unless you tell it otherwise πŸŽ€

Wanna narrow it down? Use --package-type to filter by type and --name to filter by name. And if the list is giving too many results energy, use --page and --per-page to paginate the result πŸ“„βœ¨

By default, packages are listed for the current project β€” like, it just knows where you are, main character energy fr. Use --repo to target another project πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • --jq="" β€” Filter JSON output with a jq expression. yes bestie, you get to be picky about your JSON πŸ”₯
  • -n, --name="" β€” Filter packages by name (substring match). so like, a little bit of the name is enough, it's not gonna demand the whole thing πŸ™ˆ
  • --package-type="" β€” Filter packages by type. One of: cargo, composer, conan, debian, generic, golang, helm, maven, ml_model, npm, nuget, pypi, rpm, rubygems, terraform_module. pick your fighter, those are your ONLY options πŸ‘‘βœ¨
  • -p, --page=1 β€” Page number. defaults to 1 because page one is always the moment πŸŽ€
  • -P, --per-page=30 β€” Number of items to list per page. defaults to 30, which is honestly a very reasonable amount of packages πŸ’œ

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these are the hand-me-downs and honestly they ate πŸ’€

  • -h, --help[=false] β€” Show help for this command. when in doubt, ask for help, no shame in it 🫢
  • -R, --repo="" β€” Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. so many ways to say where you wanna go, iconique ✨

⭐ EXAMPLE ⭐

ok these are the examples, and yes you should literally copy them, that's the point πŸ’–

# 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

the ls alias is lowkey so satisfying, use it, live a little πŸ¦‹


🧚 SEE ALSO 🧚


πŸ’€ reminder from your girl: nothing here is dangerous, but do keep your flags exactly as written β€” --package-type only takes the types listed above, and there's no inventing your own. periodt.

and that's the page, bestie!! 🌸 this little legend was Auto generated by spf13/cobra, dated Nov 2026, and it lives happily under glab(1) πŸŽ€ go list some packages, you've got this πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from