docs: improve shell installation info

This commit is contained in:
Denis Isaev 2018-06-30 09:24:50 +03:00
parent 3ce87e6245
commit 70193b9b4d
No known key found for this signature in database
GPG Key ID: A36A0EC8E27A1A01
2 changed files with 18 additions and 4 deletions

View File

@ -42,9 +42,16 @@ is upgraded.
It's highly recommended to install a fixed version of golangci-lint.
Releases are available on the [releases page](https://github.com/golangci/golangci-lint/releases).
The recommended way to install golangci-lint:
The recommended way to install golangci-lint (replace `vX.Y.Z` with the latest
version from the [releases page](https://github.com/golangci/golangci-lint/releases)):
```bash
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s VERSION
# binary will be $GOPATH/bin/golangci-lint
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin vX.Y.Z
# or install it into ./bin/
# curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s vX.Y.Z
# golangci-lint --version
```
Periodically update version of golangci-lint: the project is under active development

View File

@ -42,9 +42,16 @@ is upgraded.
It's highly recommended to install a fixed version of golangci-lint.
Releases are available on the [releases page](https://github.com/golangci/golangci-lint/releases).
The recommended way to install golangci-lint:
The recommended way to install golangci-lint (replace `vX.Y.Z` with the latest
version from the [releases page](https://github.com/golangci/golangci-lint/releases)):
```bash
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s VERSION
# binary will be $GOPATH/bin/golangci-lint
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin vX.Y.Z
# or install it into ./bin/
# curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s vX.Y.Z
# golangci-lint --version
```
Periodically update version of golangci-lint: the project is under active development