GitHub

Installing Github Command Line Tool

Github CLI is a command line tool that allows you to interact with Github from the command line. It is a great tool for automating tasks and integrating with other tools. You can find more information about Github CLI here (opens in a new tab). You don't need to install Github CLI to setup the project, but it is recommend that you do install as getting used to and comfortable with Github CLI is a great skill to have as a software engineer.

Here's a guide on how to set up and install GitHub CLI for your project on macOS, Windows, and Linux environments. The instructions are based on the latest methods and documentation for GitHub CLI:

Installing GitHub CLI

For macOS:

  1. Homebrew:
    • Install: brew install gh
    • Upgrade: brew upgrade gh
  2. MacPorts:
    • Install: sudo port install gh
    • Upgrade: sudo port selfupdate && sudo port upgrade gh
  3. Conda:
    • Install: conda install gh --channel conda-forge
    • Upgrade: conda update gh --channel conda-forge
  4. Others:

For Windows:

  1. WinGet:
    • Install: winget install --id GitHub.cli
    • Upgrade: winget upgrade --id GitHub.cli
  2. Scoop:
    • Install: scoop install gh
    • Upgrade: scoop update gh
  3. Chocolatey:
    • Install: choco install gh
    • Upgrade: choco upgrade gh
  4. Others:

For Linux & BSD:

  • GitHub CLI is available through:
    • Official Debian and RPM repositories.
    • Community-maintained repositories in various Linux distros.
    • OS-agnostic package managers such as Homebrew, Conda, and Spack.
    • Precompiled binaries from the releases page (opens in a new tab).

For more detailed installation instructions for Linux, you can refer to the Linux & BSD installation guide (opens in a new tab) on GitHub.

Additional Information: