微軟套裝程式管理工具winget預覽版釋出!(Windows Package Manager)

微軟於2020年5月14日釋出了名為Windows Package Manager的套裝程式管理工具,它的命令行也被稱為 winget。

和winget提供相同功能的Chocolatey已存在多年,也有不少人使用。

Windows Package Manager由兩部份組成:

  • 倉庫(winget-pkgs):存放所有可安裝套裝軟體的儲存庫,完整清單可查看此目錄
  • 命令行客戶端(winget-cli):用來存取倉庫的命令,即winget

安裝winget

目前安裝winget的最快方法是到它的GitHub下載:

winget參數

Windows Package Manager v0.1.41331 Preview
Copyright (c) Microsoft Corporation. All rights reserved.

WinGet command line utility enables installing applications from the command line.

usage: winget [<command>] [<options>]

The following commands are available:
  install   Installs the given application
  show      Shows info about an application
  source    Manage sources of applications
  search    Find and show basic info of apps
  hash      Helper to hash installer files
  validate  Validates a manifest file

For more details on a specific command, pass it the help argument. [-?]

The following options are available:
  -v,--version  Display the version of the tool
  --info        Display general info of the tool

More help can be found at: https://aka.ms/winget-command-help

winget網頁

教學影片

##

您可能也會有興趣的類似文章

簡睿

服務於軟體業的資訊老兵。興趣廣泛,學習力佳,樂於分享所知所學。

您可能也會喜歡…

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *