blog logo

aabccd021 blog

Create new GitHub repository from CLI with gh command

command to create new GitHub repository

Having to visit GitHub website every time we want to create repo can be cumbersome when we do it so often, especially for vim users. Instead of visiting the website, we can use GitHub CLI.

After installing GitHub CLI, we can create repo with:

sh
gh repo create

Then follow the instruction

Creating a GitHub repository by running the command and following the instruction