diff --git a/content/en/docs/tasks/tools/install-kubectl-windows.md b/content/en/docs/tasks/tools/install-kubectl-windows.md index 29f111dd728..8fdaa6dfc5d 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-nonstandard-package-tools) ### Install kubectl binary with curl on Windows @@ -76,9 +76,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 {#install-nonstandard-package-tools} -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" %}} @@ -91,6 +91,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 >}}