How to upgrade minikube?
Solution 1:
Before reinstall minikube (OS X), check the following:
-
Make sure that you have
brew
updated:brew update
-
Make sure that you already have
cask
installed:brew cask install minikube --verbose
Finally, execute the following command in the same directory you've installed minikube previously (usually /usr/local/bin/
):
brew cask reinstall minikube
If you see an output similar to this:
Error: It seems there is already a Binary at '/usr/local/bin/minikube'; not linking.
-
Remove the existing binary:
rm /usr/local/bin/minikube
Now, you should able to reinstall (upgrade) minikube. :)
Solution 2:
This should do the trick.
brew cask reinstall minikube
Solution 3:
brew upgrade minikube
Just upgrade minikube with brew
Solution 4:
First, unlink the existing minikube from /usr/local/bin
then reinstall:
$ sudo rm -rf /usr/local/bin/minikube # unlink existing minikube
$ brew update # update brew itself
$ brew cask reinstall minikube # reinstall latest minikube
Solution 5:
An updated way is to use this:
brew cask upgrade minikube