Install exact version via brew

For instance, we’re looking for kubernetes-helm@2.9

helm 2.9

Now we have needed version of helm.

If you see an error message like Error: go: unknown version :mountain_lion, you should make a little hack (as it said here). Check all the files depending on

In each file just comment a string saying depends_on :macos => :mountain_lion.
In my case commenting only in Formula/go.rb, Formula/go@1.8.rb, Formula/go@1.9.rb worked.

kubectl 1.13

If you need kubectl 1.13, you should do this:

Links:
https://zoltanaltfatter.com/2017/09/07/Install-a-specific-version-of-formula-with-homebrew/

Another way

There is a completely different way to do this
https://blog.hogrebe.net/2019-04-kubernetes-helm-incompatible-clientserver-versions-max-os-x/

Similar Posts

LEAVE A COMMENT