You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/tasks/tools/install-kubectl-windows.md
-28Lines changed: 0 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,6 @@ Using the latest version of kubectl helps avoid unforeseen issues.
21
21
The following methods exist for installing kubectl on Windows:
22
22
23
23
-[Install kubectl binary with curl on Windows](#install-kubectl-binary-with-curl-on-windows)
24
-
-[Install with PowerShell from PSGallery](#install-with-powershell-from-psgallery)
25
24
-[Install on Windows using Chocolatey or Scoop](#install-on-windows-using-chocolatey-or-scoop)
26
25
-[Install on Windows as part of the Google Cloud SDK](#install-on-windows-as-part-of-the-google-cloud-sdk)
27
26
@@ -76,33 +75,6 @@ The following methods exist for installing kubectl on Windows:
76
75
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`.
77
76
{{< /note >}}
78
77
79
-
### Install with PowerShell from PSGallery
80
-
81
-
If you are on Windows and using the [PowerShell Gallery](https://www.powershellgallery.com/) package manager, you can install and update kubectl with PowerShell.
82
-
83
-
1. Run the installation commands (making sure to specify a `DownloadLocation`):
If you do not specify a `DownloadLocation`, `kubectl` will be installed in the user's `temp` Directory.
92
-
{{< /note >}}
93
-
94
-
The installer creates `$HOME/.kube` and instructs it to create a config file.
95
-
96
-
1. Test to ensure the version you installed is up-to-date:
97
-
98
-
```powershell
99
-
kubectl version --client
100
-
```
101
-
102
-
{{< note >}}
103
-
Updating the installation is performed by rerunning the two commands listed in step 1.
104
-
{{< /note >}}
105
-
106
78
### Install on Windows using Chocolatey or Scoop
107
79
108
80
1. To install kubectl on Windows you can use either [Chocolatey](https://chocolatey.org) package manager or [Scoop](https://scoop.sh) command-line installer.
0 commit comments