File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
docs/content/docs/welcome/install Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,23 @@ title: "Local Installation"
33weight : 2
44---
55
6+ ### Binaries
7+
8+ ``` bash
9+ # binary will be $(go env GOPATH)/bin/golangci-lint
10+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $( go env GOPATH) /bin {{< golangci/latest-version > }}
11+
12+ # or install it into ./bin/
13+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s {{< golangci/latest-version > }}
14+
15+ # In Alpine Linux (as it does not come with curl by default)
16+ wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s {{< golangci/latest-version > }}
17+
18+ golangci-lint --version
19+ ```
20+
21+ On Windows, you can run the above commands with Git Bash, which comes with [ Git for Windows] ( https://git-scm.com/download/win ) .
22+
623## Linux
724
825Golangci-lint is available inside the majority of the package managers.
You can’t perform that action at this time.
0 commit comments