跳到正文
cccskills
免费在 GitHub 公开

winget

Use this skill to work with the Windows Package Manager CLI. It explains how to find, install, upgrade, remove, and manage packages, as well as configure sources, manifests, settings, and system state with WinGet Configuration.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Use when working with the Windows Package Manager CLI (`winget`) — package installation, search, upgrade, uninstall, repair, sources, package manifests (YAML schema), WinGet Configuration / DSC v3, settings.json, pins, export/import, download, hash, validate, experimental features, and the dscv3 resource commands. Triggers on: "winget", "winget install", "winget search", "winget upgrade", "winget uninstall", "winget list", "winget source", "winget configure", "winget settings", "winget pin", "winget export", "winget import", "winget download", "winget hash", "winget validate", "winget features", "winget dscv3", "winget repair", "winget mcp", "PackageIdentifier", "winget-pkgs", "manifest", "PreIndexed", "Microsoft.Rest", "msstore", "settings.json", "configuration.winget", "DSC v3", "WinGet Configuration", "portable package", "MSIX", "ARP".

carapace-sh/carapace-bin星标 2,000(GitHub 2,000 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • Finding and installing a Windows package
  • Upgrading or removing installed applications
  • Managing package sources and settings
  • Writing or validating package manifests
  • Applying a WinGet Configuration file

包含的文件(9)

  • SKILL.md10.1 KB
  • references/cli.md13.4 KB
  • references/concepts.md9.7 KB
  • references/configure.md15.3 KB
  • references/install-uninstall.md13.0 KB
  • references/manifest.md17.8 KB
  • references/package-management.md15.7 KB
  • references/settings.md11.6 KB
  • references/sources.md10.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

winget — Windows Package Manager CLI In-Depth Reference

Comprehensive reference for winget, the Windows Package Manager command-line tool. Covers the command structure, source system, package manifests, install/upgrade/uninstall workflows, WinGet Configuration (DSC v3), settings, and package management operations.

Data Flow

winget command
  → parse global flags (--disable-interactivity, --verbose, --proxy, --no-proxy)
    → resolve sources (winget, msstore, user-added, REST, predefined Installed)
      → search across sources (CompositeSource aggregates results)
        → match package (PackageIdentifier, ProductCode, PackageFamilyName)
          → download installer → verify SHA256 → execute installer
            → record in Installed source (ARP registry + MSIX)
WinGet Configuration:
  winget configure -f file.winget
    → parse YAML (v2 or v3 schema)
      → download DSC modules (v2) / verify dscv3 processor (v3)
        → test each resource (is system in desired state?)
          → set resources not in desired state
            → report results (idempotent)

Sub-Resources

Load the reference that matches your task. When in doubt, load multiple references.

KeywordsReference
concept, model, architecture, package manager, PackageIdentifier, ProductCode, PackageFamilyName, UpgradeCode, moniker, installed packages, ARP, Add/Remove Programs, MSIX, package correlation, CompositeSource, search request, version mapping, binary inventory, packaged vs unpackaged, COM server, WinRT API, winget.exe, WindowsPackageManager.dll, group policyreferences/concepts.md
cli, command, subcommand, global flags, --disable-interactivity, --verbose, --verbose-logs, --proxy, --no-proxy, --wait, --open-logs, --logs, --ignore-warnings, --nowarn, --info, --version, -v, --help, -?, command aliases, install, search, show, list, upgrade, uninstall, source, configure, settings, pin, export, import, download, hash, validate, features, dscv3, repair, mcpreferences/cli.md
source, source add, source list, source remove, source update, source reset, source export, PreIndexed, Microsoft.PreIndexed.Package, Microsoft.Rest, REST API source, msstore, winget source, winget-font, well-known sources, trust level, SourceTrustLevel, source agreements, accept-source-agreements, source origin, SourceOrigin, explicit source, certificate pinning, SQLite index, MSIX delivery, REST API version negotiation, --header, --type, --trust-level, --arg, --explicitreferences/sources.md
manifest, YAML, PackageIdentifier, PackageVersion, DefaultLocale, PackageLocale, ManifestType, ManifestVersion, version manifest, installer manifest, defaultLocale manifest, locale manifest, InstallerType, msi, msix, exe, nullsoft, inno, wix, burn, portable, zip, font, appx, pwa, Architecture, x86, x64, arm, arm64, neutral, Scope, user, machine, InstallerSwitches, Silent, SilentWithProgress, Interactive, InstallLocation, Log, Upgrade, Custom, Repair, Dependencies, WindowsFeature, WindowsLibrary, Package, External, NestedInstallerType, NestedInstallerFiles, UpgradeBehavior, ElevationRequirement, ExpectedReturnCodes, AppsAndFeaturesEntries, ProductCode, PackageFamilyName, Capabilities, Commands, Protocols, FileExtensions, Markets, ReleaseDate, InstallationMetadata, Authentication, winget-pkgs, manifest validation, winget validate, winget hashreferences/manifest.md
install, uninstall, upgrade, repair, installer type, scope, architecture, silent, interactive, silentWithProgress, --exact, -e, --force, --silent, -h, --interactive, -i, --location, -l, --log, -o, --manifest, -m, --version, -v, --source, -s, --id, --name, --moniker, --query, -q, --scope, --architecture, -a, --installer-type, --override, --custom, --no-upgrade, --skip-dependencies, --accept-package-agreements, --accept-source-agreements, --dependency-source, --authentication-account, --authentication-mode, --header, --locale, --allow-reboot, --uninstall-previous, --ignore-security-hash, --ignore-local-archive-malware-scan, --rename, -r, portable package, install behavior, upgrade all, --all, --recurse, -r, --include-unknown, --include-pinned, uninstall --all, --all-versions, --preserve, --purge, --product-codereferences/install-uninstall.md
configure, configuration, DSC, DSC v3, DSC v2, .winget, configuration.winget, configuration file, configurationVersion, assertions, resources, dependsOn, directives, securityContext, elevated, current, restricted, WinGetPackage, Microsoft.WinGet.DSC, Microsoft.WinGet/Package, Microsoft.Windows/Registry, RunCommandOnSet, PowerShellScript, WindowsPowerShellScript, configure test, configure show, configure validate, configure list, configure export, dscv3, dscv3 package, dscv3 source, dscv3 admin-settings, dscv3 user-settings-file, processor, identifier, schema, get, set, test, export, idempotent, desired state, module-path, processor-path, --file, -freferences/configure.md
settings, settings.json, config, settings export, settings set, settings reset, source.autoUpdateIntervalInMinutes, visual, progressBar, anonymizeDisplayedPaths, enableSixels, installBehavior, preferences, requirements, scope, locale, architectures, installerTypes, uninstallBehavior, purgePortablePackage, configureBehavior, downloadBehavior, telemetry, logging, network, downloader, wininet, do, Delivery Optimization, interactivity, experimentalFeatures, experimentalCmd, experimentalArg, directMSI, resume, fonts, sourcePriority, portablePackageUserRoot, portablePackageMachineRoot, defaultInstallRoot, skipDependencies, archiveExtractionMethod, fileNameStrategy, ageLimitInDays, totalSizeLimitInMB, countLimit, individualSizeLimitInMB, --setting, --value, winget features, experimental featuresreferences/settings.md
search, list, show, pin, pin add, pin list, pin remove, pin reset, export, import, download, hash, validate, features, winget show, winget view, show, view, --count, -n, --exact, -e, --versions, --tag, --cmd, --command, --upgrade-available, --include-pinned, --include-unknown, --blocking, --installed, --include-versions, --ignore-unavailable, --ignore-versions, --import-file, -i, --no-upgrade, --download-directory, -d, --skip-license, --skip-microsoft-store-package-license, --os-version, --platform, --output, -o, --blocking, pin blocking, pin installed, export import workflow, package query, filter, moniker, id, namereferences/package-management.md

Quick Guide

Cross-Project References

  • For carapace completion integration (the winget completer in carapace-bin at completers/windows/winget_completer/, shared actions in pkg/actions/tools/winget/), see the carapace skill.
  • For PowerShell DSC (Desired State Configuration) as a standalone technology beyond winget's integration, see the Microsoft DSC documentation. This skill covers winget's orchestration of DSC v3 only.
  • For MSIX packaging format internals beyond winget's consumption, see the MSIX documentation. This skill covers how winget uses MSIX for source delivery and package installation.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

brew

免费

Use this reference to manage software with Homebrew on macOS or Linux, understand formulas and casks, maintain Brewfiles and services, troubleshoot installations, or work on formula and cask development tasks.

中文简介正在准备中。当前显示英语简介。

  • Installing, updating, or removing Homebrew packages
  • Managing services and software lists with a Brewfile
  • Writing or updating a formula or cask
carapace-sh/carapace-bin20002026年10月26日 更新

bubbletea

免费

Use this reference to build and maintain terminal user interfaces in Go with Bubble Tea. It explains the Model/Update/View cycle, commands and messages, input, rendering, program lifecycle, tests, component composition, and patterns for larger applications.

中文简介正在准备中。当前显示英语简介。

  • Building a Bubble Tea terminal interface
  • Handling keyboard, mouse, and window resize events
  • Running asynchronous work through commands and messages
carapace-sh/carapace-bin20002026年10月26日 更新

bun

免费

Use this reference for JavaScript and TypeScript development with Bun. It explains CLI commands, dependency and lockfile management, testing, bundling code, runtime APIs for files and servers, the Bun shell, configuration, and environment variables.

中文简介正在准备中。当前显示英语简介。

  • Installing and managing project dependencies
  • Running tests or building a bundle with Bun
  • Starting a server or reading and writing files
carapace-sh/carapace-bin20002026年10月26日 更新

but

免费

Use this reference to manage Git work with the GitButler CLI (`but`), including virtual and stacked branches, assigning changes, editing commits, resolving conflicts, and creating pull requests. It also covers the workspace, operation history, interactive TUI, configuration, and AI agent setup.

中文简介正在准备中。当前显示英语简介。

  • Working on parallel or stacked branches
  • Assigning file changes to a virtual branch
  • Amending, squashing, or rewording commits
carapace-sh/carapace-bin20002026年10月26日 更新

carapace

免费

Build and maintain carapace shell completions for command-line tools. The reference covers YAML specs, custom completion actions, shell setup, DSL-aware parsing, MCP use, and documentation for suggested values.

中文简介正在准备中。当前显示英语简介。

  • Adding shell completion to a CLI
  • Writing a YAML spec or custom completion action
  • Generating completion documentation for values
carapace-sh/carapace-bin20002026年10月26日 更新

cargo

免费

Use this reference to work with Cargo, Rust’s package manager and build tool. It explains project manifests, dependencies, features, workspaces, build profiles, configuration, registries, publishing, and commands for building, testing, and inspecting projects.

中文简介正在准备中。当前显示英语简介。

  • Setting up dependencies in Cargo.toml
  • Understanding features and workspace settings
  • Choosing Cargo commands to build or test a project
carapace-sh/carapace-bin20002026年10月26日 更新

查看 carapace-sh 的全部技能

报告此技能的问题