From f5eab7d041280e9540b6da557b79a14ef03de8eb Mon Sep 17 00:00:00 2001 From: Maciej Porebski Date: Thu, 6 Oct 2022 19:47:23 +0100 Subject: [PATCH 1/4] Add Kubectl Install Instructions Using Winget --- .../en/docs/tasks/tools/install-kubectl-windows.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/content/en/docs/tasks/tools/install-kubectl-windows.md b/content/en/docs/tasks/tools/install-kubectl-windows.md index 4c2f175e89a..2ef0a06368d 100644 --- a/content/en/docs/tasks/tools/install-kubectl-windows.md +++ b/content/en/docs/tasks/tools/install-kubectl-windows.md @@ -20,7 +20,7 @@ Using the latest compatible version of kubectl helps avoid unforeseen issues. The following methods exist for installing kubectl on Windows: - [Install kubectl binary with curl on Windows](#install-kubectl-binary-with-curl-on-windows) -- [Install on Windows using Chocolatey or Scoop](#install-on-windows-using-chocolatey-or-scoop) +- [Install on Windows using Chocolatey Scoop or Winget](#install-on-windows-using-chocolatey-scoop-or-winget) ### Install kubectl binary with curl on Windows @@ -77,9 +77,9 @@ The following methods exist for installing kubectl on Windows: If you have installed Docker Desktop before, you may need to place your `PATH` entry before the one added by the Docker Desktop installer or remove the Docker Desktop's `kubectl`. {{< /note >}} -### Install on Windows using Chocolatey or Scoop +### Install on Windows using Chocolatey Scoop or Winget -1. To install kubectl on Windows you can use either [Chocolatey](https://chocolatey.org) package manager or [Scoop](https://scoop.sh) command-line installer. +1. To install kubectl on Windows you can use either [Chocolatey](https://chocolatey.org) package manager, [Scoop](https://scoop.sh) command-line installer or [Winget](https://winget.run/) package manager. {{< tabs name="kubectl_win_install" >}} {{% tab name="choco" %}} @@ -92,6 +92,11 @@ If you have installed Docker Desktop before, you may need to place your `PATH` e scoop install kubectl ``` {{% /tab %}} + {{% tab name="winget" %}} + ```powershell + winget install -e --id Kubernetes.kubectl + ``` + {{% /tab %}} {{< /tabs >}} From 47e928bc3f64ecd2d1eca3622f4c2404b7cbbd80 Mon Sep 17 00:00:00 2001 From: Maciej Porebski Date: Mon, 10 Oct 2022 14:10:59 +0100 Subject: [PATCH 2/4] Update Section Heading for CLI Install Co-authored-by: Tim Bannister --- content/en/docs/tasks/tools/install-kubectl-windows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tasks/tools/install-kubectl-windows.md b/content/en/docs/tasks/tools/install-kubectl-windows.md index 2ef0a06368d..46f3387b1ab 100644 --- a/content/en/docs/tasks/tools/install-kubectl-windows.md +++ b/content/en/docs/tasks/tools/install-kubectl-windows.md @@ -77,7 +77,7 @@ The following methods exist for installing kubectl on Windows: If you have installed Docker Desktop before, you may need to place your `PATH` entry before the one added by the Docker Desktop installer or remove the Docker Desktop's `kubectl`. {{< /note >}} -### Install on Windows using Chocolatey Scoop or Winget +### Install on Windows using Chocolatey, Scoop or Winget {#install-nonstandard-package-tools} 1. To install kubectl on Windows you can use either [Chocolatey](https://chocolatey.org) package manager, [Scoop](https://scoop.sh) command-line installer or [Winget](https://winget.run/) package manager. From 0dde71a1fd8df545adc4f39e4734d39387f8c951 Mon Sep 17 00:00:00 2001 From: Maciej Porebski Date: Mon, 10 Oct 2022 14:16:26 +0100 Subject: [PATCH 3/4] Update CLI Install Section Link to Match New URL --- content/en/docs/tasks/tools/install-kubectl-windows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tasks/tools/install-kubectl-windows.md b/content/en/docs/tasks/tools/install-kubectl-windows.md index 46f3387b1ab..4179d45ae9d 100644 --- a/content/en/docs/tasks/tools/install-kubectl-windows.md +++ b/content/en/docs/tasks/tools/install-kubectl-windows.md @@ -20,7 +20,7 @@ Using the latest compatible version of kubectl helps avoid unforeseen issues. The following methods exist for installing kubectl on Windows: - [Install kubectl binary with curl on Windows](#install-kubectl-binary-with-curl-on-windows) -- [Install on Windows using Chocolatey Scoop or Winget](#install-on-windows-using-chocolatey-scoop-or-winget) +- [Install on Windows using Chocolatey, Scoop or Winget](#install-nonstandard-package-tools) ### Install kubectl binary with curl on Windows From 5254265c1bb1ccd0f81e6fc9729f1699d2b45683 Mon Sep 17 00:00:00 2001 From: Maciej Porebski Date: Wed, 12 Oct 2022 21:41:17 +0100 Subject: [PATCH 4/4] Add Oxford Comma to CLI Install Options List Co-authored-by: Mark Rossetti --- content/en/docs/tasks/tools/install-kubectl-windows.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/tasks/tools/install-kubectl-windows.md b/content/en/docs/tasks/tools/install-kubectl-windows.md index 4179d45ae9d..05c2cb4400e 100644 --- a/content/en/docs/tasks/tools/install-kubectl-windows.md +++ b/content/en/docs/tasks/tools/install-kubectl-windows.md @@ -20,7 +20,7 @@ Using the latest compatible version of kubectl helps avoid unforeseen issues. The following methods exist for installing kubectl on Windows: - [Install kubectl binary with curl on Windows](#install-kubectl-binary-with-curl-on-windows) -- [Install on Windows using Chocolatey, Scoop or Winget](#install-nonstandard-package-tools) +- [Install on Windows using Chocolatey, Scoop, or Winget](#install-nonstandard-package-tools) ### Install kubectl binary with curl on Windows @@ -77,9 +77,9 @@ The following methods exist for installing kubectl on Windows: If you have installed Docker Desktop before, you may need to place your `PATH` entry before the one added by the Docker Desktop installer or remove the Docker Desktop's `kubectl`. {{< /note >}} -### Install on Windows using Chocolatey, Scoop or Winget {#install-nonstandard-package-tools} +### Install on Windows using Chocolatey, Scoop, or Winget {#install-nonstandard-package-tools} -1. To install kubectl on Windows you can use either [Chocolatey](https://chocolatey.org) package manager, [Scoop](https://scoop.sh) command-line installer or [Winget](https://winget.run/) package manager. +1. To install kubectl on Windows you can use either [Chocolatey](https://chocolatey.org) package manager, [Scoop](https://scoop.sh) command-line installer, or [Winget](https://winget.run/) package manager. {{< tabs name="kubectl_win_install" >}} {{% tab name="choco" %}}