gh repo clone user/repo

Category: GitHub CLI

gh repo clone user/repo

Clone a GitHub repository to the local machine

Clones a GitHub repository to your local machine using the gh tool.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.