Updated files install-kubectl-linux.md , install-kubectl-macos.md , install-kubectl-windows.md (#31916)

* updated install-kubectl-windows.md

* Updated install-kubectl-windows.md

* Update install-kubectl-linux.md

* Update install-kubectl-macos.md
This commit is contained in:
Yuvraj Chhetri
2022-02-27 07:53:17 +05:30
committed by GitHub
parent 093f9758db
commit cd26a2bb6b
3 changed files with 15 additions and 0 deletions
@@ -95,6 +95,11 @@ For example, to download version {{< param "fullversion" >}} on Linux, type:
```bash
kubectl version --client
```
Or use this for detailed view of version:
```cmd
kubectl version --client --output=yaml
```
### Install using native package management
@@ -111,6 +111,11 @@ The following methods exist for installing kubectl on macOS:
```bash
kubectl version --client
```
Or use this for detailed view of version:
```cmd
kubectl version --client --output=yaml
```
### Install with Homebrew on macOS
@@ -66,6 +66,11 @@ The following methods exist for installing kubectl on Windows:
```cmd
kubectl version --client
```
Or use this for detailed view of version:
```cmd
kubectl version --client --output=yaml
```
{{< note >}}
[Docker Desktop for Windows](https://docs.docker.com/docker-for-windows/#kubernetes) adds its own version of `kubectl` to `PATH`.