.nh
.TH "GH-ORG-LIST" "1" "Oct 2024" "GitHub CLI 2.58.0" "GitHub CLI manual"

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


.SH SYNOPSIS
\fBgh org list [flags]\fR


.SH OPTIONS
.TP
\fB-L\fR, \fB--limit\fR \fB<int> (default 30)\fR
Maximum number of organizations to list


.SH ALIASES
gh org ls


.SH EXIT CODES
0: Successful execution

.PP
1: Error

.PP
2: Command canceled

.PP
4: Authentication required

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


.SH EXAMPLE
.EX
# List the first 30 organizations
$ gh org list

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

.EE


.SH SEE ALSO
\fBgh-org(1)\fR