Skip to content

Instantly share code, notes, and snippets.

@Sciroccogti
Last active July 17, 2024 15:09
Show Gist options
  • Save Sciroccogti/35d43a405c1d5fd83099d8f60f9c77b0 to your computer and use it in GitHub Desktop.
Save Sciroccogti/35d43a405c1d5fd83099d8f60f9c77b0 to your computer and use it in GitHub Desktop.
winget app jsons, use `winget import winget.json` to install essential apps automatically.

cmds

Upgrade all packages:

winget upgrade -u -r # 将所有可用的包更新为最新的应用程序(r),即使无法确定其当前版本(u)

Ignore a package:

winget pin add --id Mozilla.Thunderbird --blocking
{
"$schema": "https://aka.ms/winget-packages.schema.2.0.json",
"CreationDate": "2021-07-17T21:44:42.935-00:00",
"Sources": [
{
"Packages": [
{
"PackageIdentifier" : "agalwood.Motrix"
},
{
"PackageIdentifier" : "Appest.Dida"
},
{
"PackageIdentifier" : "Apple.iTunes"
},
{
"PackageIdentifier" : "Baidu.BaiduNetdisk"
},
{
"PackageIdentifier" : "Balena.Etcher"
},
{
"PackageIdentifier" : "BlenderFoundation.Blender"
},
{
"PackageIdentifier" : "BrickLink.Studio"
},
{
"PackageIdentifier" : "CPUID.CPU-Z"
},
{
"PackageIdentifier" : "EpicGames.EpicGamesLauncher"
},
{
"PackageIdentifier" : "Google.AndroidStudio"
},
{
"PackageIdentifier" : "Google.Chrome"
},
{
"PackageIdentifier" : "JohnMacFarlane.Pandoc"
},
{
"PackageIdentifier" : "Kitware.CMake"
},
{
"PackageIdentifier" : "Logitech.Options"
},
{
"PackageIdentifier" : "MAMP.MAMP"
},
{
"PackageIdentifier" : "Mathpix.MathpixSnippingTool"
},
{
"PackageIdentifier" : "NetEase.MailMaster"
},
{
"PackageIdentifier" : "Nutstore.Nutstore"
},
{
"PackageIdentifier" : "Nvidia.GeForceExperience"
},
{
"PackageIdentifier" : "ojdkbuild.ojdkbuild"
},
{
"PackageIdentifier" : "Olivia.VIA"
},
{
"PackageIdentifier" : "OpenJS.NodeJS"
},
{
"PackageIdentifier" : "Paragon.LinuxFileSystems"
},
{
"PackageIdentifier" : "REALiX.HWiNFO"
},
{
"PackageIdentifier" : "Rime.Weasel"
},
{
"PackageIdentifier" : "TechPowerUp.GPU-Z"
},
{
"PackageIdentifier" : "Tencent.TIM"
},
{
"PackageIdentifier" : "TimKosse.FileZillaClient"
},
{
"PackageIdentifier" : "Valve.Steam"
},
{
"PackageIdentifier" : "VMware.WorkstationPlayer"
},
{
"PackageIdentifier" : "WiresharkFoundation.Wireshark"
},
{
"PackageIdentifier" : "Wox.Wox"
},
],
"SourceDetails" :
{
"Argument" : "https://cdn.winget.microsoft.com/cache",
"Identifier" : "Microsoft.Winget.Source_8wekyb3d8bbwe",
"Name" : "winget",
"Type" : "Microsoft.PreIndexed.Package"
}
}
],
"WinGetVersion": "1.7.2491-preview"
}
{
"$schema": "https://aka.ms/winget-packages.schema.2.0.json",
"CreationDate": "2021-07-17T21:44:42.935-00:00",
"Sources": [
{
"Packages": [
{
"PackageIdentifier" : "7zip.7zip"
},
{
"PackageIdentifier" : "Armin2208.WindowsAutoNightMode"
},
{
"PackageIdentifier" : "B3log.SiYuan"
},
{
"PackageIdentifier" : "Bitwarden.Bitwarden"
},
{
"PackageIdentifier" : "Daum.PotPlayer"
},
{
"PackageIdentifier" : "Fndroid.ClashForWindows"
},
{
"PackageIdentifier" : "Genymobile.scrcpy"
},
{
"PackageIdentifier" : "Git.Git"
},
{
"PackageIdentifier" : "GoLang.Go"
},
{
"PackageIdentifier" : "Insecure.Nmap"
},
{
"PackageIdentifier" : "lin-ycv.EverythingPowerToys"
},
{
"PackageIdentifier" : "Microsoft.PowerShell"
},
{
"PackageIdentifier" : "Microsoft.PowerToys"
},
{
"PackageIdentifier" : "Microsoft.WindowsTerminal"
},
{
"PackageIdentifier" : "Microsoft.VisualStudio.2022.Community"
},
{
"PackageIdentifier" : "Microsoft.VisualStudioCode"
},
{
"PackageIdentifier" : "Mozilla.Firefox"
},
{
"PackageIdentifier" : "NickeManarin.ScreenToGif"
},
{
"PackageIdentifier" : "OBSProject.OBSStudio"
},
{
"PackageIdentifier" : "RustDesk.RustDesk"
},
{
"PackageIdentifier" : "Sogou.SogouInput"
},
{
"PackageIdentifier" : "Stretchly.Stretchly"
},
{
"PackageIdentifier" : "Synology.DriveClient"
},
{
"PackageIdentifier" : "Tencent.QQ"
},
{
"PackageIdentifier" : "Tencent.QQMusic"
},
{
"PackageIdentifier" : "Tencent.TencentMeeting"
},
{
"PackageIdentifier" : "Tencent.WeChat"
},
{
"PackageIdentifier" : "VideoLAN.VLC"
},
{
"PackageIdentifier" : "voidtools.Everything"
},
{
"PackageIdentifier" : "DigitalScholar.Zotero"
},
],
"SourceDetails": {
"Argument": "https://cdn.winget.microsoft.com/cache",
"Identifier": "Microsoft.Winget.Source_8wekyb3d8bbwe",
"Name": "winget",
"Type": "Microsoft.PreIndexed.Package"
}
}
],
"WinGetVersion": "1.7.2491-preview"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment