Skip to content

Commit f5eab7d

Browse files
Add Kubectl Install Instructions Using Winget
1 parent 5b084a3 commit f5eab7d

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

content/en/docs/tasks/tools/install-kubectl-windows.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Using the latest compatible version of kubectl helps avoid unforeseen issues.
2020
The following methods exist for installing kubectl on Windows:
2121

2222
- [Install kubectl binary with curl on Windows](#install-kubectl-binary-with-curl-on-windows)
23-
- [Install on Windows using Chocolatey or Scoop](#install-on-windows-using-chocolatey-or-scoop)
23+
- [Install on Windows using Chocolatey Scoop or Winget](#install-on-windows-using-chocolatey-scoop-or-winget)
2424

2525
### Install kubectl binary with curl on Windows
2626

@@ -77,9 +77,9 @@ The following methods exist for installing kubectl on Windows:
7777
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`.
7878
{{< /note >}}
7979

80-
### Install on Windows using Chocolatey or Scoop
80+
### Install on Windows using Chocolatey Scoop or Winget
8181

82-
1. To install kubectl on Windows you can use either [Chocolatey](https://chocolatey.org) package manager or [Scoop](https://scoop.sh) command-line installer.
82+
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.
8383

8484
{{< tabs name="kubectl_win_install" >}}
8585
{{% tab name="choco" %}}
@@ -92,6 +92,11 @@ If you have installed Docker Desktop before, you may need to place your `PATH` e
9292
scoop install kubectl
9393
```
9494
{{% /tab %}}
95+
{{% tab name="winget" %}}
96+
```powershell
97+
winget install -e --id Kubernetes.kubectl
98+
```
99+
{{% /tab %}}
95100
{{< /tabs >}}
96101

97102

0 commit comments

Comments
 (0)