🌐
GitHub
cli.github.com
GitHub CLI | Take GitHub to the command line
GitHub CLI brings GitHub to your terminal. Free and open source. Install with Homebrew · macOS — Homebrew · Windows — WinGet · Linux — apt (Debian, Ubuntu) Linux — dnf (Fedora, RHEL) Linux — zypper (openSUSE, SUSE) macOS — Download binary · Windows — Download MSI ·
GitHub CLI manual
GitHub CLI, or gh, is a command-line interface to GitHub for use in your terminal or your scripts.
Gh api
Work seamlessly with GitHub from the command line
Manual | GitHub CLI
GitHub CLI, or gh, is a command-line interface to GitHub for use in your terminal or your scripts.
Gh auth login
For more information on OAuth scopes, see https://docs.github.com/en/developers/apps/building-oauth-apps/scopes-for-oauth-apps/. ... # Start interactive setup $ gh auth login # Open a browser to authenticate and copy one-time OAuth code to clipboard $ gh auth login --web --clipboard # Authenticate ...
🌐
GitHub
github.com › guarinogabriel › mac-cli
GitHub - guarinogabriel/Mac-CLI:  macOS command line tool for developers – The ultimate tool to manage your Mac. It provides a huge set of command line commands that automatize the usage of your Mac.
 macOS command line tool for developers – The ultimate tool to manage your Mac. It provides a huge set of command line commands that automatize the usage of your Mac. - guarinogabriel/Mac-CLI
🌐
DEV Community
dev.to › raulpenate › begginers-guide-installing-and-using-github-cli-30ka
🚀 Begginer's Guide: installing and using GitHub CLI 🛠️ - DEV Community
July 30, 2024 - # Homebrew brew install gh # MacPorts sudo port install gh # Conda conda install gh --channel conda-forge # Spack spack install gh # Webi curl -sS https://webi.sh/gh | sh · gh is available via WinGet, scoop, Chocolatey, Conda, Webi, and as MSI installer. # WinGet winget install --id GitHub.cli # scoop scoop install gh # Chocolatey choco install gh # Conda conda install gh --channel conda-forge # Spack spack install gh # Webi curl -sS https://webi.sh/gh | sh
🌐
Medium
oorkan.medium.com › setup-the-github-cli-7ed3409d5703
Setup the GitHub CLI. Installation and authentication | by David Q | Medium
January 5, 2021 - The easiest way to install the GitHub CLI (henceforth gh) under Linux or Mac is to use Homebrew: 🚀 ~ brew install gh · Under Linux, gh is also available via snapd on the edge channel (dev builds).
🌐
SourceForge
sourceforge.net › projects › cli.mirror
GitHub CLI download | SourceForge.net
1 month ago - This is an exact mirror of the GitHub CLI project, hosted at https://github.com/cli/cli. SourceForge is not affiliated with GitHub CLI. Add a Review · Downloads: 171 This Week · Last Update: 2026-09-30 · Download · Share This · Add to Preferred Sources · Linux · Mac ·
🌐
Homebrew
formulae.brew.sh › formula › gh
Homebrew Formulae: gh
GitHub command-line tool · https://cli.github.com/ License: MIT · Development: Pull requests · Formula JSON API: /api/formula/gh.json · Formula code: gh.rb on GitHub · Bottle (binary package) installation support provided for: Current versions: Depends on when building from source: Binaries: gh ·
Find elsewhere
🌐
GitHub
gist.github.com › 1201187 › 5247457788890f0795a6e121275867e3551d0dc2
Some basic Git instructions for Github for Mac and the command line · GitHub
July 31, 2026 - Some basic Git instructions for Github for Mac and the command line - git-version-control.markdown
🌐
GitHub
github.com › larsks › ghcli
GitHub - larsks/ghcli: GitHub’s official command line tool
GitHub CLI is available for repositories hosted on GitHub.com and GitHub Enterprise Server 2.20+, and to install on macOS, Windows, and Linux.
🌐
Reddit
reddit.com › r/github › need help installing github cli, probably a basic error (i'm new to this, and mac)
r/github on Reddit: Need help installing Github CLI, probably a basic error (I'm new to this, and MAC)
March 26, 2022 -

Been trying to install Github CLI and I come across these error messages when inputting the commands meant to install Github CLI. Been following these directions: https://github.com/cli/cli#installation. I used the homebrew command because thats what I remember installing first before I installed Git. The command is brew install gh.

This is the error message:

Giankarlo-Sverko-2:~ giankarlosverko$ brew install gh

fatal: Could not resolve HEAD to a revision

Warning: No available formula with the name "gh".

==> Searching for similarly named formulae...

Error: No similarly named formulae found.

It was migrated from github/gh to homebrew/core.

Then I tried this command because I saw someone else do it on youtube for the mac (https://www.youtube.com/watch?v=tm9gdHd9qmE). the command is brew install github/gh/gh

Here is THAT error message:

Giankarlo-Sverko-2:~ giankarlosverko$ brew install github/gh/gh

Warning: Use gh instead of deprecated github/gh/gh

Warning: Use gh instead of deprecated github/gh/gh

Warning: No available formula or cask with the name "github/gh/gh".

==> Searching for similarly named formulae...

Warning: Use gh instead of deprecated github/gh/gh

Error: No similarly named formulae found.

Warning: Use gh instead of deprecated github/gh/gh

==> Searching for a previously deleted formula (in the last month)...

Error: No previously deleted formula found.

I'm probably missing something really basic. For context, I'm using the basic mac terminal. Maybe I'm using the wrong program? The guy in the video has a black background on his command line with colored text. Mine just looks like a .txt file.

Please help me! Doing this for an assignment and I cant find help anywhere.

Thank you!

🌐
Git
git-scm.com › install › mac
Git - Install for macOS
Install MacPorts if you don't already have it, then: $ sudo port install git
🌐
GitHub
github.com › github › homebrew-gh
GitHub - github/homebrew-gh: Homebrew tap for the GitHub CLI · GitHub
June 21, 2023 - This is a Homebrew tap repository that provides the gh formula for GitHub CLI.
🌐
GitHub
github.com › cli › cli
GitHub - cli/cli: GitHub’s official command line tool
GitHub CLI is supported for users on GitHub.com, GitHub Enterprise Cloud, and supported GitHub Enterprise Server versions, with support for macOS, Windows, and Linux.
🌐
Massive
developer.massive.wiki › installing_git_and_github_cli_on_mac
Installing Git and GitHub CLI on Mac - Developer Wiki (Massive Wiki)
July 20, 2026 - Navigate to https://cli.github.com. On that page, you have a choice: ... The "Download for Mac" option downloads a zip file, with a .bin file and a man page. I do not immediately see instructions on where to put the .bin file.
🌐
GitHub
github.com › git-guides › install-git
Git Guides - install git · GitHub
If you're on a Mac, look for a command prompt application called "Terminal".
🌐
Codecademy
codecademy.com › article › github-cli-tutorial
GitHub CLI Tutorial: Complete Guide to gh Commands | Codecademy
Key features of GitHub CLI include: GitHub Actions support: Monitor, rerun, and debug workflows with basic commands. Custom aliases: Create shorthand commands for repetitive tasks or multi-step scripts. Scriptable automation: Chain gh commands into scripts for CI, deployment, or project housekeeping. Context awareness: Automatically works with the current repo and branch, minimizing flags and setup. Cross-platform support: Works on macOS, Windows, and Linux with consistent behavior.
🌐
Git
git-scm.com › book › en › v2 › Getting-Started-Installing-Git
Git - Installing Git
There are several ways to install Git on macOS. The easiest is probably to install the Xcode Command Line Tools.
🌐
GitHub
github.com › phmullins › awesome-macos-commandline
GitHub - phmullins/awesome-macos-commandline: A curated list of awesome command-line software for macOS. · GitHub
Infrastructure Management tools for macOS. Terraform - Write, Plan, and Create Infrastructure as Code. glow - Render markdown on the CLI, with pizzazz!
Author: phmullins
🌐
KDnuggets
kdnuggets.com › 2023 › 03 › getting-started-github-cli.html
Getting Started with GitHub CLI - KDnuggets
March 6, 2023 - GitHub CLI can be installed easily using the Homebrew CLI tool. It is also available on MacPorts, Conda, Spack, and as a downloadable binary.