@@ -19,9 +19,15 @@ Using the latest compatible version of kubectl helps avoid unforeseen issues.
19
19
20
20
The following methods exist for installing kubectl on macOS:
21
21
22
- - [ Install kubectl binary with curl on macOS] ( #install-kubectl-binary-with-curl-on-macos )
23
- - [ Install with Homebrew on macOS] ( #install-with-homebrew-on-macos )
24
- - [ Install with Macports on macOS] ( #install-with-macports-on-macos )
22
+ - [ Install kubectl on macOS] ( #install-kubectl-on-macos )
23
+ - [ Install kubectl binary with curl on macOS] ( #install-kubectl-binary-with-curl-on-macos )
24
+ - [ Install with Homebrew on macOS] ( #install-with-homebrew-on-macos )
25
+ - [ Install with Macports on macOS] ( #install-with-macports-on-macos )
26
+ - [ Verify kubectl configuration] ( #verify-kubectl-configuration )
27
+ - [ Optional kubectl configurations and plugins] ( #optional-kubectl-configurations-and-plugins )
28
+ - [ Enable shell autocompletion] ( #enable-shell-autocompletion )
29
+ - [ Install ` kubectl convert ` plugin] ( #install-kubectl-convert-plugin )
30
+ - [ {{% heading "whatsnext" %}}] ( #-heading-whatsnext- )
25
31
26
32
### Install kubectl binary with curl on macOS
27
33
@@ -117,6 +123,12 @@ The following methods exist for installing kubectl on macOS:
117
123
kubectl version --client --output=yaml
118
124
```
119
125
126
+ 1 . After installing the plugin, clean up the installation files:
127
+
128
+ ``` bash
129
+ rm kubectl kubectl.sha256
130
+ ```
131
+
120
132
### Install with Homebrew on macOS
121
133
122
134
If you are on macOS and using [ Homebrew] ( https://brew.sh/ ) package manager, you can install kubectl with Homebrew.
@@ -250,6 +262,12 @@ Below are the procedures to set up autocompletion for Bash, Fish, and Zsh.
250
262
251
263
If you do not see an error, it means the plugin is successfully installed.
252
264
265
+ 1 . After installing the plugin, clean up the installation files:
266
+
267
+ ``` bash
268
+ rm kubectl kubectl.sha256
269
+ ```
270
+
253
271
## {{% heading "whatsnext" %}}
254
272
255
273
{{< include "included/kubectl-whats-next.md" >}}
0 commit comments