CodeWithCaen
Posted on September 1, 2024
Here is how to update your GitHub CLI version on Windows. This guide assumes you have already installed GitHub CLI on your system.
- Visit https://github.com/cli/cli/releases/latest
- Scroll down to the bottom of the page and find the assets
- Find the entry for your system architecture (amd64 or arm64)
# Example
GitHub CLI 2.X.X windows amd64
GitHub CLI 2.X.X windows arm64
- Download the file
- Open the ZIP archive
- Open the director where your current version is installed
- This is probably
C:\Program Files\GitHub CLI
- Run
where.exe gh
to find the path if you are unsure
- This is probably
- Copy the
gh.exe
file from the ZIP archive to the directory where your current version is installed- You will be prompted to replace the existing file
- You may also need to provide administrator permissions
- Run
gh --version
to verify the installation
Done! You have successfully updated GitHub CLI on Windows.
💖 💪 🙅 🚩
CodeWithCaen
Posted on September 1, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.