File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -87,15 +87,16 @@ update if needed.
8787
8888### Local Installation
8989
90- It's a not recommended for your CI pipeline. Only install like this for your local development environment.
90+ Local installation is not recommended for your CI pipeline. Only install the linter this way in a local development environment.
9191
9292``` bash
93- go get -u github.com/golangci/golangci-lint
93+ go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
9494cd $( go env GOPATH) /src/github.com/golangci/golangci-lint/cmd/golangci-lint
9595go install -ldflags " -X 'main.version=$( git describe --tags) ' -X 'main.commit=$( git rev-parse --short HEAD) ' -X 'main.date=$( date) '"
9696```
97+ (On Windows, you can run the above commands with Git Bash, which comes with [ Git for Windows] ( https://git-scm.com/download/win ) .)
9798
98- You can also install it on OSX using brew:
99+ You can also install it on MacOS using [ brew] ( https://brew.sh/ ) :
99100
100101``` bash
101102brew install golangci/tap/golangci-lint
You can’t perform that action at this time.
0 commit comments