diff --git a/pages.zh/osx/sw_vers.md b/pages.zh/osx/sw_vers.md new file mode 100644 index 000000000..a76ee69f6 --- /dev/null +++ b/pages.zh/osx/sw_vers.md @@ -0,0 +1,11 @@ +# sw_vers + +> 打印 MacOS 软件版本信息. + +- 打印 MacOS 版本: + +`sw_vers -productVersion` + +- 打印 MacOS 构建版本: + +`sw_vers -buildVersion`