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
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,12 @@ The following methods exist for installing kubectl on Windows:
72
72
kubectl version --client --output=yaml
73
73
```
74
74
75
+
1. After installing the plugin, clean up the installation files:
76
+
77
+
```bash
78
+
del kubectl.exe kubectl.exe.sha256
79
+
```
80
+
75
81
{{< note >}}
76
82
[Docker Desktop for Windows](https://docs.docker.com/docker-for-windows/#kubernetes) adds its own version of `kubectl` to `PATH`.
77
83
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`.
@@ -191,6 +197,12 @@ Below are the procedures to set up autocompletion for PowerShell.
191
197
192
198
If you do not see an error, it means the plugin is successfully installed.
193
199
200
+
1. After installing the plugin, clean up the installation files:
201
+
202
+
```bash
203
+
del kubectl-convert.exe kubectl-convert.exe.sha256
0 commit comments