Skip to content

Commit 9f42eec

Browse files
authored
Merge pull request #32507 from my-git9/translate-compose-kubernetes.md
[zh] Update install-kubectl-macos.md
2 parents dd54580 + 5af719e commit 9f42eec

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

content/zh/docs/tasks/tools/install-kubectl-macos.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,17 @@ The following methods exist for installing kubectl on macOS:
178178

179179
<!--
180180
1. Test to ensure the version you installed is up-to-date:
181+
Or use this for detailed view of version:
181182
-->
182183
5. 测试一下,确保你安装的是最新的版本:
183184

184185
```bash
185186
kubectl version --client
186187
```
188+
或者使用下面命令来查看版本的详细信息:
189+
```cmd
190+
kubectl version --client --output=yaml
191+
```
187192

188193
<!--
189194
### Install with Homebrew on macOS {#install-with-homebrew-on-macos}

0 commit comments

Comments
 (0)