I had installed minikube a few months ago and wanted to upgrade as newer versions are available.
I am unable to find out how to upgrade minikube. I
Just try brew upgrade minikube
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
An updated way is to use this:
brew cask upgrade minikube
As of early 2020, and based on the guidance provided by this answer, minikube is no more available as a cask
. You need to run:
brew install minikube
Minikube is no longer available in cask
and calling brew cask
while performing install, upgrade, or reinstall is deprecated! Use the below syntax instead:
Make sure brew is updated:
brew update
Then, to install, use:
brew install minikube
To upgrade, use:
brew upgrade minikube
To reinstall, use:
brew reinstall minikube
brew upgrade minikube
Just upgrade minikube with brew