Skip to content

Commit 871fb9d

Browse files
committed
add docs on using homebrew tap
While use of the tap is discouraged, there are times that homebrew core doesn't immediately update the formula to the latest version. This provides docs on using the tap to help get the latest released quicker through brew.
1 parent 750309d commit 871fb9d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/src/docs/usage/install/index.mdx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,14 @@ brew install golangci-lint
5353
brew upgrade golangci-lint
5454
```
5555

56-
Note: previously we use [tap](https://github.com/golangci/homebrew-tap), but it is obsoleted. We recommend using official formula instead of an obsolete tap.
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`:
59+
60+
```
61+
brew tap golangci/tap
62+
brew install golangci/tap/golangci-lint
63+
```
5764

5865
It can also be installed through [macports](https://www.macports.org/)
5966
The macports installation mode is community driven, and not officially maintained by golangci team.

0 commit comments

Comments
 (0)