Github CLI: Brings GitHub to your Terminal

If you create a local folder before creating a GitHub repository for it, you might need to go to the GitHub website then create a new repository, then add a remote to your current folder. Is there any way that all of these steps could be done in the terminal in 1 line of code?

That is when GitHub CLI  comes in handy. The code snippet above shows how to create a new Github repository in your local folder.

With GitHub CLI, you can also manage your pull requests, issues, repositories, gists, and so much more! Check out GitHub CLI here.

Scroll to Top