From 71adfffc0abca95d87c3ec4c2eaa8fbd8ee41316 Mon Sep 17 00:00:00 2001 From: Anish Karandikar Date: Mon, 9 Apr 2018 20:55:09 -0400 Subject: [PATCH] Update install-kubectl.md (#8032) * Update install-kubectl.md * updated to repair broken example --- docs/tasks/tools/install-kubectl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tasks/tools/install-kubectl.md b/docs/tasks/tools/install-kubectl.md index 3f5ec31818..e318567685 100644 --- a/docs/tasks/tools/install-kubectl.md +++ b/docs/tasks/tools/install-kubectl.md @@ -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.