X Tutup
The Wayback Machine - https://web.archive.org/web/20200928141701/https://github.com/cli/cli/blob/trunk/docs/source.md
Skip to content
Permalink
trunk
Go to file
* 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
7 contributors

Users who have contributed to this file

@gabgodBB @mislav @vilmibm @Youssef1313 @danshearer @billygriffin @shmokmt
30 lines (20 sloc) 533 Bytes

Installation from source

  1. Verify that you have Go 1.13+ installed

    $ go version

    If go is not installed, follow instructions on the Go website.

  2. Clone this repository

    $ git clone https://github.com/cli/cli.git gh-cli
    $ cd gh-cli
  3. Build the project

    $ make
    
  4. Move the resulting bin/gh executable to somewhere in your PATH

    $ sudo mv ./bin/gh /usr/local/bin/
  5. Run gh version to check if it worked.

You can’t perform that action at this time.
X Tutup