-
-
Save dwamara/56873ca99270bfb158b249c6ab82024e to your computer and use it in GitHub Desktop.
Kubernetes Minikube install on MacOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Installs minikube on MacOS | |
# See: https://github.com/kubernetes/minikube/releases | |
declare -r VERSION=${1:-} | |
if [[ -z ${VERSION} ]]; then | |
echo "Please specify a version" | |
exit 1 | |
fi | |
curl -Lo ${HOME}/Downloads/minikube \ | |
https://storage.googleapis.com/minikube/releases/v${VERSION}/minikube-darwin-amd64 | |
sudo mv ${HOME}/Downloads/minikube ${HOME}/local/bin/ | |
chmod +x ${HOME}/local/bin/minikube | |
echo "Minikube installed at $(which minikube)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment