How to Solve Brew install golangci-lint Error

Brew install golangci lint reports an error

Installation command:

brew install golangci-lint

report errors:

Error: No such file or directory @ rb_sysopen - /Users/...-go-1.16.6.big_sur.bottle.tar.gz


Go version problem

go 1.16.5 is already installed but outdated


install go first and then golangci lint

brew install go
brew install golangci-lint

Read More: