1
2

More than 3 years have passed since last update.

GitHub CLI のビルド方法

Last updated at Posted at 2020-05-05

GitHub CLI のビルド方法

GitHub CLI のビルド方法です。

準備

  1. Golang をダウンロードしてインストールします。
  2. git をインストールします。
  3. git で ソースを取得します。

git の場合

git clone https://github.com/cli/cli.git

GitHub CLI をインストール済みの場合

gh repo clone cli/cli

ビルド (Windows, Linux 共通)

go mod download
go build -v ./cmd/gh

参考:
https://github.com/cli/cli/blob/59580e6ac70343ee68ad86736ba43f617c8e98b8/.github/workflows/go.yml

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2