* We are trying to keep the binary building on Go 1.13 to support building the project on Ubuntu 20.04 LTS * Go 1.14+ is required to run the test suite * We build our releases on Go 1.15 This adds a CI check that verifies that the project compiles on 1.13
533 B
533 B
Installation from source
-
Verify that you have Go 1.13+ installed
$ go versionIf
gois not installed, follow instructions on the Go website. -
Clone this repository
$ git clone https://github.com/cli/cli.git gh-cli $ cd gh-cli -
Build the project
$ make -
Move the resulting
bin/ghexecutable to somewhere in your PATH$ sudo mv ./bin/gh /usr/local/bin/ -
Run
gh versionto check if it worked.