Search code examples
macoshomebrewminikube

How to install a specific version of minikube on Mac OS?


Both methods on the official start page install the latest version. How can a specific version be installed either using homebrew or binary download?


Solution

  • Binary: Go to the link below. Search for the version you want to install. Click on “Assets” of that version, Download the binary suitable for your macOS architecture. Install it.

    sudo install minikube-darwin-amd64 /usr/local/bin/

    https://github.com/kubernetes/minikube/releases

    Homebrew: Go to the link below. Search for your version. Click on “view at this point in history”. Click on “Raw” and copy the url.

    brew install “raw-url-link”

    brew unlink minikube

    brew link minikube

    https://github.com/Homebrew/homebrew-core/commits/eaad48a89767c4fb7e4d80fcfacf24035844d3d0/Formula/minikube.rb