From a09e9eafa3f01760763f5bc371c1d25e262aa1f0 Mon Sep 17 00:00:00 2001 From: Tair Sabirgaliev Date: Thu, 2 Aug 2018 22:18:27 +0600 Subject: [PATCH] Add instructions for Macports (#9701) --- content/en/docs/tasks/tools/install-kubectl.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/content/en/docs/tasks/tools/install-kubectl.md b/content/en/docs/tasks/tools/install-kubectl.md index d7d2ec4447..1b414aada7 100644 --- a/content/en/docs/tasks/tools/install-kubectl.md +++ b/content/en/docs/tasks/tools/install-kubectl.md @@ -65,6 +65,14 @@ kubectl is available as a [snap](https://snapcraft.io/) application. 2. Run `kubectl version` to verify that the version you've installed is sufficiently up-to-date. +## Install with Macports on macOS + +1. If you are on macOS and using [Macports](https://macports.org/) package manager, you can install with: + + port install kubectl + +2. Run `kubectl version` to verify that the version you've installed is sufficiently up-to-date. + ## Install with Powershell from PSGallery 1. If you are on Windows and using [Powershell Gallery](https://www.powershellgallery.com/) package manager, you can install and update with: