How to upgrade minikube?

7/10/2017

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 see a feature request for an upgrade command here - https://github.com/kubernetes/minikube/issues/1171

I tried to then uninstall minikube and hit another brickwall again. I don't see a command to uninstall minikube. The information that came closest to this was not very helpful - https://github.com/kubernetes/minikube/issues/1043

I guess we need ways to upgrade these (at least once every 6 months or so).

-- Manglu
kubernetes
macos
minikube

10 Answers

7/15/2018

In order to upgrade in Windows, type:

minikube start

The following is the output you will get (make sure you are connected to internet):

Here is a newer version of Minikube available (v0.28.0). Download it here: https://github.com/kubernetes/minikube/releases/tag/v0.28.0

if you don't get the above message then first run minikube config set WantUpdateNotification true then do, minikube start

Before that, remove all the Minikube links from the system:

  1. Remove the previous installation path.
  2. From this folder, remove c:\Users\<user-name>\ .kube folder.
-- Abhishek D K
Source: StackOverflow

11/14/2017

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. :)

-- Raquel Campuzano
Source: StackOverflow

11/14/2017

This should do the trick.

brew cask reinstall minikube
-- Hammadi Ilyes
Source: StackOverflow

10/15/2018

An updated way is to use this:

brew cask upgrade minikube
-- Jeff S.
Source: StackOverflow

3/19/2018

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
-- Sajib Khan
Source: StackOverflow

7/10/2017

Process to update:

  • Minikube is an executable: Re-install minikube is an upgrade.
  • Optionally you can remove ~/.minikube which will make minikube completely re-initialize and also update your kubernetes version (if a new version has been made available for minikube).
-- Norbert van Nobelen
Source: StackOverflow

7/24/2017
minikube delete
sudo rm -rf ~/.minikube

re-install minikube and it should work

-- NSP
Source: StackOverflow

2/21/2020
brew upgrade minikube

Just upgrade minikube with brew

-- MC_Nyquist
Source: StackOverflow

1/26/2020

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
-- Farshid
Source: StackOverflow

3/16/2019

if you are using Windows machine and Chocolatey package manager -

Step 1: run PowerShell as administrator

Step 2: run following command choco upgrade minikube

More on chocolatey https://chocolatey.org/

-- mechDeveloper
Source: StackOverflow