Search code examples
kubernetesminikubeuninstallationapple-silicon

How do I uninstall minikube on a Mac?


I have a Mac with Apple Silicon (M1) and I have minikube installed. The installation was done following https://medium.com/@seohee.sophie.kwon/how-to-run-a-minikube-on-apple-silicon-m1-8373c248d669 by executing:

curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-darwin-arm64
sudo install minikube-darwin-arm64 /usr/local/bin/minikube

How do I remove minikube?


Solution

  • Have you tried to follow any online material to delete Minikube?? Test if this works for you and let me know if you face any issues.

    Try using the below command :

    minikube stop; minikube delete &&
    docker stop $(docker ps -aq) &&
    rm -rf ~/.kube ~/.minikube &&
    sudo rm -rf /usr/local/bin/localkube /usr/local/bin/minikube &&
    launchctl stop '*kubelet*.mount' &&
    launchctl stop localkube.service &&
    launchctl disable localkube.service &&
    sudo rm -rf /etc/kubernetes/ &&
    docker system prune -af --volumes
    

    Reference used: Delete minikube on Mac