Fix curl does not work in zsh

This commit is contained in:
kairen
2017-09-01 11:33:08 +08:00
parent 69d2091ca6
commit 4cd97a2162
+1 -1
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.