Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 1.76 KB

Installation.md

File metadata and controls

59 lines (44 loc) · 1.76 KB

Installation

On Windows

Git CLI

Just go to git bash and the download will start automatically. Run the exe, select options according to your pref and voila

Github CLI

Download latest msi installer from releases page. Run the exe, select options according to your pref and voila

On Linux

Git CLI

If you’re on a Debian-based distribution, such as Ubuntu, try apt:

sudo apt install git

Github CLI

If you’re on a Debian-based distribution, such as Ubuntu, download .deb from releases page. Install it using

sudo dpkg -i <filename>.deb

(Example: sudo dpkg -i gh_1.1.0_linux_amd64.deb , latest one at the time of writing)

On MacOS

Git CLI

There are several ways to install Git on a Mac. The easiest is probably to install the Xcode Command Line Tools. On Mavericks (10.9) or above you can do this simply by trying to run git from the Terminal the very first time.

git --version

If you don’t have it installed already, it will prompt you to install it.

Github CLI

gh is available via Homebrew, MacPorts, and as a downloadable binary from the releases page.

Homebrew

Install: Upgrade:
brew install gh brew upgrade gh

MacPorts

Install: Upgrade:
sudo port install gh sudo port selfupdate && sudo port upgrade gh