Skip to content

Commit 8780cb5

Browse files
author
Sébastien HOUZÉ
authored
doc: add how to install section
1 parent d3921f2 commit 8780cb5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,18 @@ github deployment_status create $DEPLOYMENT_ID in_progress
3333
# Create a production deployment and corresponding status, short syntax
3434
github ds c $(github d c -e production -t deploy:migration) in_progress
3535
```
36+
37+
## How to install it?
38+
39+
```shell
40+
go get github.com/inextensodigital/github
41+
```
42+
43+
or... (feel free to replace `linux` by either `windows` or `darwin`)
44+
45+
```shell
46+
curl -s https://api.github.com/repos/inextensodigital/github/releases/latest | \
47+
jq -r '.assets[] | select(.name | contains("linux-amd64")) | .browser_download_url' | \
48+
grep -v sha256 | \
49+
wget -qi - -O github && sudo chmod +x github
50+
```

0 commit comments

Comments
 (0)