微軟winget安裝工具 | Windows界的apt-get - 茶紅teablack

微軟winget安裝工具 | Windows界的apt-get

封面

前陣子微軟出了一個工具叫做”winget”,這個工具其實已經出來很久了XD。
不過在切身體驗它的方便之後,哇!不禁讚嘆它真的很厲害。恨不得它早點出來!

不過它其實就是Linux下的apt-get的概念,況且微軟是個大公司,這樣的指令(工具)應該可以更加容易地推出吧!怎麼到Windows 10才發布呢?

首先,先前往微軟的GitHub下載最新版本的winget,要下載副檔名msixbundle的文件。
下載後直接將它開啟,按下安裝之後它就會自己安裝這個winget的工具。

>winget
Windows Package Manager v1.0.11694
Copyright (c) Microsoft Corporation. 著作權所有,並保留一切權利。

Winget 命令列實用程式可讓您從命令列安裝應用程式和其他套件。

使用: winget [<命令>] [<選項>]

以下是所有可用的命令:
  install    安裝指定的套件
  show       顯示套件相關資訊
  source     管理套件來源
  search     尋找並顯示套件的基本資訊
  list       顯示已安裝的套件
  upgrade    升級指定的套件
  uninstall  解除安裝指定的套件
  hash       雜湊安裝程式檔案的協助程式
  validate   驗證資訊清單檔案
  settings   開啟設定
  features   顯示實驗功能的狀態
  export     匯出已安裝套件的清單
  import     安裝檔案中的所有套件。

如需特定命令的更多詳細資料,請向其傳遞說明引數。 [-?]

以下是可用的選項:
  -v,--version  顯示該工具的版本
  --info        顯示該工具的一般資訊

若要取得更多協助,請參閱: https://aka.ms/winget-command-help

輸入”winget”後,會列出中文的使用方法,非常貼心。
其實主要使用方法就是”winget install [應用程式名稱]”。
就這樣而已!

留言

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


Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Database.php on line 474

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$slug is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$title is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$content is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$type is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$level is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 170

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$notification_id is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$notification_name is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$start is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$end is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$button1_label is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$button1_action is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$button2_label is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$button2_action is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$dismissed is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$new is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Database.php on line 474

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$slug is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$title is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$content is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$type is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$level is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 170

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$notification_id is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$notification_name is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$start is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$end is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$button1_label is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$button1_action is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$button2_label is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$button2_action is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$dismissed is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167

Deprecated: Creation of dynamic property AIOSEO\Plugin\Common\Models\Notification::$new is deprecated in /var/www/teablack2008/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 167