You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/src/docs/usage/install/index.mdx
+27-24
Original file line number
Diff line number
Diff line change
@@ -44,30 +44,16 @@ and is constantly being improved. For any problems with `golangci-lint`, check o
44
44
45
45
## Local Installation
46
46
47
-
### macOS
48
-
49
-
You can install a binary release on macOS using [brew](https://brew.sh/):
47
+
### Binaries
50
48
51
49
```sh
52
-
brew install golangci-lint
53
-
brew upgrade golangci-lint
54
-
```
55
-
56
-
Note: Previously we used a [homebrew tap](https://github.com/golangci/homebrew-tap). We recommend using official formula instead of the tap, but sometimes the most recent release
57
-
isn't immediately available via homebrew core due to manual updates that need to occur from homebrew core maintainers. In this case, the tap formula, which is updated automatically,
58
-
can be used to install the latest version of `golangci-lint`:
50
+
# binary will be $(go env GOPATH)/bin/golangci-lint
Note: Previously we used a [homebrew tap](https://github.com/golangci/homebrew-tap). We recommend using official formula instead of the tap, but sometimes the most recent release
87
+
isn't immediately available via homebrew core due to manual updates that need to occur from homebrew core maintainers. In this case, the tap formula, which is updated automatically,
88
+
can be used to install the latest version of `golangci-lint`:
89
+
90
+
```sh
91
+
brew tap golangci/tap
92
+
brew install golangci/tap/golangci-lint
95
93
```
96
94
97
-
On Windows, you can run the above commands with Git Bash, which comes with [Git for Windows](https://git-scm.com/download/win).
95
+
It can also be installed through [macports](https://www.macports.org/)
96
+
The macports installation mode is community driven, and not officially maintained by golangci team.
0 commit comments