gh repo list myorg --archived --limit 50

Category: GitHub CLI

gh repo list myorg --archived --limit 50

List archived repos in an organization

Lists repositories owned by myorg, --archived filters to archived ones, and --limit caps output at 50. Archived repos are read-only and useful to audit for cleanup or reference. Drop --archived or add --no-archived to flip the filter.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.