Install minikube
Linux
Note: This document shows you how to install Minikube on Linux using a static binary. For alternative Linux installation methods, see Other Ways to Install in the official Minikube GitHub repository.
You can install Minikube on Linux by downloading a static binary:
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 \
&& chmod +x minikube
Here’s an easy way to add the Minikube executable to your path:
sudo cp minikube /usr/local/bin && rm minikube
macOS
The easiest way to install Minikube on macOS is using Homebrew:
brew cask install minikube
You can also install it on macOS by downloading a static binary:
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-darwin-amd64 \
&& chmod +x minikube
Here’s an easy way to add the Minikube executable to your path:
sudo mv minikube /usr/local/bin
Windows
Note: To run Minikube on Windows, you first need to install VirtualBox or Hyper-V. Hyper-V can be run on three versions of Windows 10: Windows 10 Enterprise, Windows 10 Professional, and Windows 10 Education. See the official Minikube GitHub repository for additional installation information.
The easiest way to install Minikube on Windows is using Chocolatey (run as an administrator):
choco install minikube kubernetes-cli
After Minikube has finished installing, close the current CLI session and restart. Minikube should have been added to your path automatically.
Windows manual installation
To install Minikube manually on Windows, download minikube-windows-amd64
, rename it to minikube.exe
, and add it to your path.
Windows Installer
To install Minikube manually on windows using Windows Installer, download minikube-installer.exe
and execute the installer.
Cleanup everything to start fresh
If you have previously installed minikube, and run:
minikube start
And this command returns an error:
machine does not exist
You need to wipe the configuration files:
rm -rf ~/.minikube
Last updated
Was this helpful?