This project is maintained by mantejjosan
It is recommended that you first create your SSH key using the Git Bash guide. For instructions on how to do this, refer to the guide here.
You can skip to step 3 if you just want to see the download page and download.
Start by searching for “Is GitHub CLI available on Windows 7 32-bit” in your preferred search engine. Click on the first link that appears in the search results.
On the resulting webpage, locate and click on the link shown for downloading the GitHub CLI for Windows.
Scroll down on the download page and find the file named gh_1.1.0_windows_386.zip
. Download this file to your computer.
Locate the downloaded gh_1.1.0_windows_386.zip
file on your computer and extract it. You can use a tool like WinRAR or the built-in Windows zip extractor.
After extraction, you will see a bin
folder created with an executable file named gh
inside it. You can run this executable directly, but it will only prompt you to open the Command Prompt and run the gh
command.
To verify that GitHub CLI is correctly installed, open the Command Prompt. Press Windows + R
, type cmd
, and hit Enter. In the Command Prompt window, type gh
and press Enter.
To check the installed version, type gh --version
and press Enter.
To start using GitHub CLI, you need to authorize it with your GitHub account. Type the following command in the Command Prompt:
gh auth login
When prompted, choose “GitHub” among the options: GitHub or GitHub Enterprise.
now choose login with web browser from the option next.
A one-time code will be provided. Copy this code and press Enter in the Command Prompt.
Sign in if not already done like this:
Paste the code into the GitHub authentication page that opens and click “Authenticate.”
Click continue.
You will be asked to grant access to GitHub CLI. Confirm and grant access.
Once the authorization is complete, you are ready to use GitHub CLI for various tasks directly from the Command Prompt.
With GitHub CLI authorized, you can perform actions similar to those available on the GitHub website directly from the Command Prompt. For example, to create a new repository, use the following command:
gh repo create new-repository-name --public --description "This is a tutorial repo"
Replace "This is a tutorial repo"
with a meaningful description of your repository.
Enter yes.