Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 533 Bytes

source.md

File metadata and controls

30 lines (20 loc) · 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.