Installing Minikube

Learn how to install Minikube.

Understanding minikube#

Minikube supports several virtualization technologies. We’ll use VirtualBox throughout the book since it is the only virtualization supported in all operating systems. If you do not have it already, please head to the Download VirtualBox page and get the version that matches your OS.

⚠️ Please keep in mind that for VirtualBox or HyperV to work, virtualization must be enabled in the BIOS. Most laptops should have it enabled by default.

📝 The installation of Minikube may take a while.

Installation#

Finally, we can install Minikube.

MacOS#

If you’re using MacOS, please execute the command that follows.

Install minikube on MacOS

If the installation fails you can go to this link.

Linux#

If, on the other hand, you prefer Linux, the command is as follows.

Install minikube on Linux

Windows#

Finally, you will not get a command if you are a Windows user. Instead, download the latest release from of the minikube-windows-amd64.exe file, rename it to minikube.exe, and add it to your path.

Validation#

We’ll test whether Minikube works or not by checking its version.

minikube version

The output is as follows.

Output of above command

Now we’re ready to give the cluster a spin.

Installing kubectl
Creating a Local Kubernetes Cluster with Minikube
Mark as Completed
Report an Issue