Install GitHub CLI for easy authentication on Mac and Linux

  1. Install brew if you haven’t already
  2. $ brew install gh
  3. $ gh auth login

Reference and more information https://flaviocopes.com/setup-github-credentials-macos/

And here are the instructions for Linux https://github.com/cli/cli/blob/trunk/docs/install_linux.md

Leave a comment