gh-org - Man Page
Manage organizations
Examples (TL;DR)
- List organizations for the authenticated user:
gh org [ls|list]
- List a certain amount of organizations (defaults to 30):
gh org [ls|list] [-L|--limit] 100
- Display help:
gh org --help
Synopsis
gh org <command> [flags]
Description
Work with GitHub organizations.
General Commands
- gh-org-list(1)
List organizations for the authenticated user.
Exit Codes
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.
Example
$ gh org list
See Also
Referenced By
Sep 2025 GitHub CLI manual