Update install-kubectl.md (#8032)

* Update install-kubectl.md

* updated to repair broken example
This commit is contained in:
Anish Karandikar
2018-04-09 20:55:09 -04:00
committed by zacharysarah
parent 2c2fe9ea38
commit 71adfffc0a
+1 -1
View File
@@ -24,7 +24,7 @@ Pick the one that suits your environment best.
{% capture macos %}
1. Download the latest release with the command:
curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/darwin/amd64/kubectl
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/darwin/amd64/kubectl
To download a specific version, replace the `$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)` portion of the command with the specific version.