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

# [NAME](#NAME)

gh-repo-list - List repositories owned by user or organization

# [SYNOPSIS](#SYNOPSIS)

**gh repo list \[&lt;owner&gt;] \[flags]**

# [DESCRIPTION](#DESCRIPTION)

List repositories owned by a user or organization.

Note that the list will only include repositories owned by the provided argument, and the **--fork** or **--source** flags will not traverse ownership boundaries. For example, when listing the forks in an organization, the output would not include those owned by individual users.

# [OPTIONS](#OPTIONS)

[**--archived**](#archived)

Show only archived repositories

[**--fork**](#fork)

Show only forks

[**-q**, **--jq** **&lt;expression&gt;**](#q)

Filter JSON output using a jq expression

[**--json** **&lt;fields&gt;**](#json)

Output JSON with the specified fields

[**-l**, **--language** **&lt;string&gt;**](#l)

Filter by primary coding language

[**-L**, **--limit** **&lt;int&gt; (default 30)**](#L)

Maximum number of repositories to list

[**--no-archived**](#no_archived)

Omit archived repositories

[**--source**](#source)

Show only non-forks

[**-t**, **--template** **&lt;string&gt;**](#t)

Format JSON output using a Go template; see "gh help formatting"

[**--topic** **&lt;strings&gt;**](#topic)

Filter by topic

[**--visibility** **&lt;string&gt;**](#visibility)

Filter by repository visibility: {public|private|internal}

# [ALIASES](#ALIASES)

gh repo ls

# [JSON FIELDS](#JSON_FIELDS)

**archivedAt**, **assignableUsers**, **codeOfConduct**, **contactLinks**, **createdAt**, **defaultBranchRef**, **deleteBranchOnMerge**, **description**, **diskUsage**, **forkCount**, **fundingLinks**, **hasDiscussionsEnabled**, **hasIssuesEnabled**, **hasProjectsEnabled**, **hasWikiEnabled**, **homepageUrl**, **id**, **isArchived**, **isBlankIssuesEnabled**, **isEmpty**, **isFork**, **isInOrganization**, **isMirror**, **isPrivate**, **isSecurityPolicyEnabled**, **isTemplate**, **isUserConfigurationRepository**, **issueTemplates**, **issues**, **labels**, **languages**, **latestRelease**, **licenseInfo**, **mentionableUsers**, **mergeCommitAllowed**, **milestones**, **mirrorUrl**, **name**, **nameWithOwner**, **openGraphImageUrl**, **owner**, **parent**, **primaryLanguage**, **projects**, **projectsV2**, **pullRequestTemplates**, **pullRequests**, **pushedAt**, **rebaseMergeAllowed**, **repositoryTopics**, **securityPolicyUrl**, **squashMergeAllowed**, **sshUrl**, **stargazerCount**, **templateRepository**, **updatedAt**, **url**, **usesCustomOpenGraphImage**, **viewerCanAdminister**, **viewerDefaultCommitEmail**, **viewerDefaultMergeMethod**, **viewerHasStarred**, **viewerPermission**, **viewerPossibleCommitEmails**, **viewerSubscription**, **visibility**, **watchers**

# [EXIT CODES](#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.

# [SEE ALSO](#SEE_ALSO)

[**gh-repo(1)**](/man/os/gh/gh-repo.1)

Oct 2026

---

Document: gh-repo-list(1) from gh 2.103.3-r1 (Chainguard OS)
Source: https://github.com/cli/cli
