gh-repo-list - Man Page

List repositories owned by user or organization


gh repo list [<owner>] [flags]



Show only archived repositories


Show only forks

-q,  --jq <expression>

Filter JSON output using a jq expression

--json <fields>

Output JSON with the specified fields

-l,  --language <string>

Filter by primary coding language

-L,  --limit <int>

Maximum number of repositories to list


Omit archived repositories


Show only non-forks

-t,  --template <string>

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

--topic <strings>

Filter by topic

--visibility <string>

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

See Also


Referenced By


Mar 2023 GitHub CLI manual