0 Winget官网
Winget官网: https://github.com/microsoft/winget-cli 
1. 安装 winget (Win10 LTSC)
目前官方只支持 windows store 安装,但 LTSC 并没有应用商店。
1 2 3 4
   | 版本	Windows 10 企业版 LTSC 版本号 	21H2 操作系统内部版本	19044.1766 体验	Windows Feature Experience Pack 120.2212.4170.0
   | 
 
Win10 手动安装 winget 方法如下:
参考安装方法: https://github.com/muradbuyukasik/winget-script   
1.1 安装 VC++ v14 依赖
1 2 3
   | cd ~ aria2c -c -s 5 -x 5 https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx   Add-AppxPackage Microsoft.VCLibs.x64.14.00.Desktop.appx
   | 
 
1.2 安装 Microsoft.UI.Xaml 依赖
1 2 3 4 5 6
   | cd ~ aria2c -c -s 5 -x 5 https://www.nuget.org/api/v2/package/Microsoft.UI.Xaml/2.7.1  
  7z x microsoft.ui.xaml.2.7.1.nupkg -o* cd microsoft.ui.xaml.2.7.1\tools\AppX\x64\Release Add-AppxPackage microsoft.ui.xaml.2.7.appx
   | 
 
1.3 安装 winget
1 2 3 4 5 6 7 8
   | cd ~ aria2c -c -s 5 -x 5 https://github.com/microsoft/winget-cli/releases/download/v1.2.10271/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle  
 
  Add-AppPackage .\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
  .\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
 
   | 
 
2. 安装常用软件
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
   | 
  winget search "Mail and Calendar" winget install 9WZDNCRFHVQM
  winget search "Microsoft Photos" winget install 9WZDNCRFJBH4
 
  winget install Microsoft.Edge winget install Microsoft.Teams
  winget install Tencent.QQ winget install Tencent.WeChat winget install Tencent.TencentMeeting
  winget install NetEase.MailMaster
  winget install TortoiseGit
 
  |