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: