guide
Minikube Installation Guide
Step-by-step guide to install Minikube on macOS using Homebrew for local Kubernetes development.
Published: November 12, 2024
Minikube Installation on macOS
Minikube lets you run a single-node Kubernetes cluster locally for development and testing.
Installation Steps
1. Install kubectl
brew install kubectl
2. Install VirtualBox
brew cask install virtualbox
Note: Allow Oracle in Security & Privacy settings if prompted.
3. Install Minikube
brew cask install minikube
4. Start Minikube
minikube start
Basic Commands
# Start cluster
minikube start
# Check status
minikube status
# Stop cluster
minikube stop
# Delete cluster
minikube delete
# Open dashboard
minikube dashboard
# Get cluster IP
minikube ip
Using Docker Driver (Alternative)
If you prefer Docker over VirtualBox:
# Install Docker Desktop first, then:
minikube start --driver=docker
Quick Reference
| Task | Command |
|---|---|
| Start | minikube start |
| Stop | minikube stop |
| Status | minikube status |
| Dashboard | minikube dashboard |
| SSH into node | minikube ssh |
| Get IP | minikube ip |
| Delete | minikube delete |
Useful Addons
# Enable ingress
minikube addons enable ingress
# Enable metrics server
minikube addons enable metrics-server
# List all addons
minikube addons list
Tags
minikubekubernetesk8smacosdockerlocal-development