GH-ORG-LIST(1) GitHub CLI manual GH-ORG-LIST(1)

gh-org-list - List organizations for the authenticated user.

gh org list [flags]

Maximum number of organizations to list

gh org ls

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

# List the first 30 organizations
$ gh org list
# List more organizations
$ gh org list --limit 100

gh-org(1)

Jun 2025