Update the deletion of kubectl on macOS

This commit is contained in:
achiverram28 2023-05-26 23:29:01 +05:30 committed by GitHub
parent 19d1bc09aa
commit 37ca580a7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 9 deletions

View File

@ -293,18 +293,18 @@ Depending on how you installed `kubectl`, use one of the following methods.
### Uninstall kubectl using the command-line
1. Locate the `kubectl` binary on your system:
1. Locate the `kubectl` binary on your system:
```bash
where kubectl
```
```bash
where kubectl
```
1. Remove the `kubectl` binary:
1. Remove the `kubectl` binary:
```bash
sudo rm <path>
```
Replace `<path>` with the path to the `kubectl` binary from the previous step. For example, `sudo rm /usr/local/bin/kubectl`.
```bash
sudo rm <path>
```
Replace `<path>` with the path to the `kubectl` binary from the previous step. For example, `sudo rm /usr/local/bin/kubectl`.
### Uninstall kubectl using homebrew