你現在可以使用命令列安裝並更新 Microsoft Store 應用程式

你現在可以使用命令列安裝並更新 Microsoft Store 應用程式

功能介紹

Microsoft 已為 Windows 系統推出新的 Microsoft Store 命令列介面(CLI),讓使用者能夠透過 PowerShell 或命令提示字元,直接搜尋、安裝與更新 Microsoft Store 應用程式,無需依賴圖形使用者介面(GUI)。

使用方式

  • 在 Windows 10 或 Windows 11 上,開啟 PowerShell 或命令提示字元。
  • 使用簡單的命令行指令,例如 winget installstore install,即可安裝應用程式。
  • 透過 store updatewinget update 命令,可更新已安裝的應用程式。
  • 支援搜尋、列出、安裝與卸載應用程式,操作流程與傳統 GUI 版本類似。

適用對象

此功能適合系統管理人員、開發者或偏好使用命令列操作的進階使用者,可有效節省時間並避免圖形介面中的廣告與雜訊。

來源:https://www.wired.com/story/install-and-update-microsoft-store-apps-using-the-command-line-in-windows/

返回頂端