Skip to content

Commit

Permalink
Update from-source installation instructions (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
duganchen authored Jan 3, 2023
1 parent f2f8b8b commit d4a4290
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,15 @@ Assuming you've installed `libmagic` properly and you have
https://golang.org/doc/install[setup a Go environment], Use the
following command to install Pistol to `$GOPATH/bin/pistol`:

==== Go 1.16 or later

[source,sh]
----
go install github.com/doronbehar/pistol/cmd/pistol@latest
----

==== Go 1.15 or earlier

[source,sh]
----
env CGO_ENABLED=1 GO111MODULE=on go get -u github.com/doronbehar/pistol/cmd/pistol
Expand Down

0 comments on commit d4a4290

Please sign in to comment.