Watch: How to install GitHub CLI (gh) and log in on Mac | Vovy

Watch Vovy do it on a Mac: "Install the GitHub CLI and log me in so Claude Code can open PRs". Vovy installs gh, the official GitHub CLI, logs you in through the browser, and sets it as your Git credential helper so pushes just work.

"Install the GitHub CLI and log me in so Claude Code can open PRs"

Vovy installs gh, the official GitHub CLI, logs you in through the browser, and sets it as your Git credential helper so pushes just work.

What happens in the video

  1. Install gh: Vovy installs the GitHub CLI with brew install gh. It lets Terminal and AI tools create repos, PRs and issues for you.
  2. Start the login: Vovy runs gh auth login, picks GitHub.com, HTTPS and browser login, and copies the one-time code for you.
  3. Approve in your browser: GitHub opens the device login page. You paste the code and click Authorize yourself.
  4. Connect it to Git: Vovy runs gh auth setup-git so git push uses this login instead of asking for a password.
  5. Confirm who you are: Vovy runs gh auth status and shows a card with your account, scopes and a few useful commands like gh repo view --web.
Read the step-by-step guide