gh repo create myrepo --public

Category: GitHub CLI

gh repo create myrepo --public

Create a new public GitHub repository

Creates a new public GitHub repository directly from the command line.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.