Merge pull request #5264 from kairen/fix-zsh-not-work

Fix curl does not work in zsh
pull/5309/head
Andrew Chen 2017-09-05 14:29:50 -07:00 committed by GitHub
commit 49037b0896
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ Here are a few methods to install kubectl.
{% 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.