Skip to content

Commit 2288477

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 2288477

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,13 @@ 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. In this case, the tap formula can be used to install the latest version of `golangci-lint`:
58+
59+
```
60+
brew tap golangci/tap
61+
brew install golangci/tap/golangci-lint
62+
```
5763

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

0 commit comments

Comments
 (0)