1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.zh/osx/softwareupdate.md
2024-01-01 10:38:53 +01:00

450 B

softwareupdate

通过命令行更新 macOS 应用商店中应用程序的工具。 更多信息:https://ss64.com/osx/softwareupdate.html.

  • 列出所有可用的更新:

softwareupdate --list

  • 下载并安装所有更新:

softwareupdate --install --all

  • 下载并安装所有推荐的更新:

softwareupdate --install --req

  • 下载并安装特定的应用程序:

softwareupdate --install {{更新应用程序名}}