Browse Source

docs: Change "go get" to "go install"

go install is preferred for installing binaries, as it doesn't mess with
someone's go.mod/go.sum files, if perchance they're in a go module directory
pull/4/head
ptrcnull 9 months ago
parent
commit
f0862463c2
  1. 2
      README.md

2
README.md

@ -24,7 +24,7 @@ Prebuilt binaries are available for download [at the releases page](https://gith
If you have Go (at least version 1.12) installed on your system, you can compile and install `inpost-cli` this way:
```bash
$ go get -u github.com/alufers/inpost-cli
$ go install github.com/alufers/inpost-cli@latest
```
This will download, compile the program and put it to `$GOPATH/bin` (`~/go/bin` by default). You can add this folder to `$PATH` to use this program as a command.

Loading…
Cancel
Save