Mac OSX Kubernetes Run `brew link` on these: kubernetes-cli

You may see this error after installed Kubernetes and run “brew doctor”.

Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:

It can be solved by running below after installing kubectl with brew on macOS.

$ rm /usr/local/bin/kubectl
$ brew link --overwrite kubernetes-cli


By Keenlio, July 26, 2020

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

− 5 = one

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>