From 70215147558eca619625edf81523fe902c6f0b89 Mon Sep 17 00:00:00 2001 From: lIuDuI <1693291525@qq.com> Date: Wed, 12 Dec 2018 09:31:57 +0800 Subject: [PATCH] Fix Wrong document (#11697) --- content/en/docs/tasks/tools/install-kubectl.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/en/docs/tasks/tools/install-kubectl.md b/content/en/docs/tasks/tools/install-kubectl.md index b5151a4d2e..7a0af0190c 100644 --- a/content/en/docs/tasks/tools/install-kubectl.md +++ b/content/en/docs/tasks/tools/install-kubectl.md @@ -85,7 +85,8 @@ If you are on macOS and using [Macports](https://macports.org/) package manager, 1. Run the installation command: ``` - port install kubectl + sudo port selfupdate + sudo port install kubectl ``` 2. Test to ensure the version you installed is sufficiently up-to-date: