validate command (winget)

December 11, 2024 ยท View on GitHub

The validate command of the winget tool validates a manifest for submitting software to the Microsoft Community Package Manifest Repository on GitHub.

A few different tools are available to help you author a manifest, including Windows Package Manager Manifest Creator, YamlCreate.ps1, and tools authored by the user community. See Authoring a Manifest in the winget-pkgs repo on GitHub.

Usage

winget validate [--manifest] <manifest> [<options>]

Arguments

The following arguments are available.

ArgumentDescription
--manifestThe path to the manifest to be validated.

Options

The options allow you to customize the validate experience to meet your needs.

OptionDescription
-?,--helpShows help about the selected command.
--waitPrompts the user to press any key before exiting.
--logs,--open-logsOpen the default logs location.
--verbose, --verbose-logsUsed to override the logging setting and create a verbose log.
--nowarn,--ignore-warningsSuppresses warning outputs.
--disable-interactivityDisable interactive prompts.
--proxySet a proxy to use for this execution.
--no-proxyDisable the use of proxy for this execution.