内容目录
使用 winget 安装软件包
微软推出了 winget 用于管理软件包。
首先获取 winget-cli
在这里 https://github.com/microsoft/winget-cli/releases , 下载appxbundle 文件。
然后在Winows10中打开这个文件。并按提示安装。
之后就可以安装软件包了。
使用方式
以管理员打开 cmd
或者 Powershell
安装一些常用软件
winget install 7zip.7zip
winget install vlc
winget install typora
winget install SoftDeluxe.FreeDownloadManager
winget install Nutstore
winget install calibre
winget install Microsoft.WindowsTerminal
搜索软件
winget search chrome
winget search onlyoffice
查看软件信息
winget show vlc
问题:
目前软件都是直接从软件包发布平台获取,没有国内镜像,下载比较慢。
PackageIdentifier: 7zip.7zip
PackageName: 7Zip
Moniker: 7zip
PackageVersion: 19.0.0
Publisher: 7zip
Author: 7zip
License: Copyright (C) 1999-2020 Igor Pavlov. - GNU LGPL
LicenseUrl: https://7-zip.org/license.txt
MinimumOSVersion: 10.0.0.0
PackageUrl: https://www.7-zip.org/
ShortDescription: Free and open source file archiver with a high compression ratio.
Tags:
- 7zip
- compression
- file compression
- utility
- tool
- zip
InstallerType: msi
Installers:
- Architecture: x64
InstallerUrl: https://www.7-zip.org/a/7z1900-x64.msi
InstallerSha256: A7803233EEDB6A4B59B3024CCF9292A6FFFB94507DC998AA67C5B745D197A5DC
InstallerSwitches:
Silent: /quiet /norestart
SilentWithProgress: /passive /norestart
PackageLocale: en-US
ManifestType: singleton
ManifestVersion: 1.0.0
安装7zip
时直接从 https://www.7-zip.org/a/7z1900-x64.msi
下载。