Skip to content

Commit

Permalink
fixes install instructions
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Hausenblas <[email protected]>
  • Loading branch information
mhausenblas committed May 11, 2020
1 parent fe31bd9 commit 4033a22
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,21 @@ Contents:

Simply download the Linux binary:

$ curl -s -L https://github.com/mhausenblas/cinf/releases/download/v0.4.0-alpha/cinf -o cinf
$ sudo mv cinf /usr/local/bin
$ sudo chmod +x /usr/local/bin/cinf
```sh
curl -s -L https://github.com/mhausenblas/cinf/releases/latest/download/cinf_linux_amd64.tar.gz \
-o cinf.tar.gz && \
tar xvzf cinf.tar.gz cinf && \
mv cinf /usr/local/bin && \
rm cinf*
```

Or build from source (note that you'll get the latest, experimental version via this method):

```sh
$ go get github.com/mhausenblas/cinf
$ GOOS=linux go build
$ godoc -http=":6060"
```

The `cinf` package docs are also available [online](https://godoc.org/github.com/mhausenblas/cinf/namespaces).

Expand Down

0 comments on commit 4033a22

Please sign in to comment.