GH-ORG-LIST(1)

🌸 GH-ORG-LIST(1) β€” the GitHub CLI manual, but make it cute 🌸

okay so bestie, welcome to gh-org-list, straight out of the GitHub CLI manual ✨ this is the page for listing orgs for the authenticated user, and yes it's a short one, and yes we're gonna make it iconic anyway πŸ’…


πŸ’– NAME πŸ’–

gh-org-list β€” List organizations for the authenticated user. That's it. That's the whole job. She's a simple girlie with one task and she DOES it 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

gh org list [flags]

literally just that. gh org list, plus whatever flags you feel like throwing at her 🌈


✨ OPTIONS ✨

okay there is exactly ONE option and honestly? she ate πŸ’…

  • -L, --limit <int> (default 30) β€” Maximum number of organizations to list πŸŽ€ so if you don't say anything, you get 30. that's the vibe. that's the default. no cap.

πŸŽ€ ALIASES πŸŽ€

  • gh org ls β€” yup, you can just type ls instead of list. same energy, fewer letters, we love efficiency bestie 😌✨

πŸ”₯ EXIT CODES πŸ”₯

the receipts, the vibes, the "did it work or not" checklist 🧚

  • 0 β€” Successful execution πŸŽ‰ she slayed, she delivered, we're thriving
  • 1 β€” Error πŸ’€ something went sideways, sadly
  • 2 β€” Command canceled πŸ™ˆ you (or something) hit stop, and that's valid
  • 4 β€” Authentication required</peak> 🚨 aka you gotta log in first, bestie, the CLI doesn't know who you are 😭
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. so like, this is the general list, but individual commands might have their own extra ones β€” check that command's help if you need the full tea πŸ‘€

πŸ’œ EXAMPLE πŸ’œ

here's the part where we actually do stuff ✨

# List the first 30 organizations
$ gh org list

# List more organizations
$ gh org list --limit 100

see? first one gets you 30 (the default, remember her πŸ’–). second one cranks it to 100 because sometimes you need the whole group chat, not just the first page πŸ‘‘


πŸ‘‘ SEE ALSO πŸ‘‘

  • gh-org(1) β€” the parent page, the main character, go read her too πŸ¦‹

and that's the whole page, bestie!! short, sweet, and fully understood, fr fr 🌸 this was GitHub CLI v2.102.0, dated Oct 2026 β€” mwah, love u, go list some orgs πŸ’…πŸ’–πŸŽ€

πŸ“¦ where this page comes from