[zh] Update install-kubectl-macos.md

Signed-off-by: xin.li <xin.li@daocloud.io>
This commit is contained in:
xin.li
2022-03-25 22:57:06 +08:00
parent c883ec32af
commit 5af719eac8
@@ -178,12 +178,17 @@ The following methods exist for installing kubectl on macOS:
<!--
1. Test to ensure the version you installed is up-to-date:
Or use this for detailed view of version:
-->
5. 测试一下,确保你安装的是最新的版本:
```bash
kubectl version --client
```
或者使用下面命令来查看版本的详细信息:
```cmd
kubectl version --client --output=yaml
```
<!--
### Install with Homebrew on macOS {#install-with-homebrew-on-macos}