Learn how to install the GitHub cli. It's as simple as running brew install github/gh/gh in your terminal.
brew install github/gh/gh