How can I install minikube on Mac OS Catalina

11/2/2019

The provided methods on the Kubernetes documentation don't work and brew cask no longer seems to have the minikube formulae as of Mac OS Catalina.

Error: Cask 'minikube' is unavailable: No Cask with this name exists.

When I download it with curl it refuses to run with the following error.

/bin/minikube: cannot execute binary file: Exec format error

How can I install minikube on Mac OS Catalina. Or do I have to rollback to Mojave?

-- martinkaburu
kubernetes
macos-catalina
minikube

2 Answers

11/2/2019

Minikube is no longer available as a cask.

Change command

brew cask install minikube

to

brew install minikube

or use

curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-darwin-amd64 \
 && sudo install minikube-darwin-amd64 /usr/local/bin/minikube
-- abadojack
Source: StackOverflow

11/2/2019

The provided methods on the Kubernetes documentation don't work and brew cask no longer seems to have the minikube formulae as of Mac OS Catalina.

Error: Cask 'minikube' is unavailable: No Cask with this name exists.

Minikube is no longer available as a cask. You can install it with brew install minikube.

When I download it with curl it refuses to run with the following error.

/bin/minikube: cannot execute binary file: Exec format error

An Exec format error might indicate that you're trying to execute a file that is not intended to be executed (e.g. a plain text file). Make sure the /bin/minikube file is actually a binary (you can test with file /bin/minikube, it should print 'Mach-O Executable')

-- Cedric
Source: StackOverflow