Submit your manifest to the repository
Windows Package Manager and the winget tool are in public preview and may be substantially modified before they are generally available. Microsoft makes no warranties, express or implied, with respect to the information provided here.
After you create a package manifest that describes your application, you're ready to submit your manifest to the Windows Package Manager repository. This a public-facing repository that contains a collection of manifests that the winget tool can access. To submit your manifest, you'll upload it to the open source https://github.com/microsoft/winget-pkgs repository on GitHub.
After you submit a pull request to add a new manifest to the GitHub repository, an automated process will validate your manifest file and check to make sure the package is not known to be malicious. If this validation is successful, your package will be added to the public-facing Windows Package Manager repository so it can be discovered by the winget client tool. Note the distinction between the manifests in the open source GitHub repository and the public-facing Windows Package Manager repository.
Microsoft reserves the right to refuse a submission for any reason.
There are currently no known third party repositories. Microsoft is working with multiple partners to develop protocols or an API to enable third party repositories.
When you submit a manifest to the https://github.com/microsoft/winget-pkgs repository on GitHub, your manifest will be automatically validated and evaluated for the safety of the Windows ecosystem. Manifests may also be reviewed manually.
How to submit your manifest
To submit a manifest to the repository, follow these steps.
Step 1: Validate your manifest
The winget tool provides the validate command to confirm that you have created your manifest correctly. To validate your manifest, use this command.
winget validate \<manifest-file>
If your validation fails, use the errors to locate the line number and make a correction. After your manifest is validated, you can submit it to the repository.
Step 2: Clone the repository
Next, create a fork of the repository and clone it.
Go to https://github.com/microsoft/winget-pkgs in your browser and click Fork.
From a command line environment such as the Windows Command Prompt or PowerShell, use the following command to clone your fork.
git clone \<your-fork-name>
If you are making multiple submissions, make a branch instead of a fork. We currently allow only one manifest file per submission.
git checkout -b \<branch-name>
Step 3: Add your manifest to the local repository
You must add your manifest file to the repository in the following folder structure:
manifests / publisher / application / version.yaml
- The manifests folder is the root folder for all manifests in the repository.
- The publisher folder is the name of the company that publishes the software. For example, Microsoft.
- The application folder is the name of the application or tool. For example, VSCode.
- version.yaml is the file name of the manifest. The file name must be set to the current version of the application. For example, 1.0.0.yaml.
Id value in the manifest must match the publisher and application names in the manifest folder path, and the
version value in the manifest must match the version in the file name. For more information, see Create your package manifest.
Step 4: Submit your manifest to the remote repository
You're now ready to push your new manifest to the remote repository.
addcommand to prepare for submission.
git add manifests\Contoso\ContosoApp\1.0.0.yaml
commitcommand to commit the change and provide information on the submission.
git commit -m "Submitting ContosoApp version 1.0.0.yaml"
pushcommand to push the changes to the remote repository.
Step 5: Create a pull request
After you push your changes, return to https://github.com/microsoft/winget-pkgs and create a pull request to merge your fork or branch to the master branch.
When you create a pull request, this will start an automation process that validates the manifest and processes your pull request. We add labels to your pull request so you can track progress.
All application submissions to the Windows Package Manager repository should be well-behaved. Here are some expectations for submissions:
- The manifest complies with the schema requirements.
- All URLs in the manifest lead to safe websites.
- The installer and application are virus free.
- The application installs and uninstalls correctly for both administrators and non-administrators.
- The installer supports non-interactive modes.
- All manifest entries are accurate and not misleading.
- The installer comes directly from the publisher's website.
Pull request labels
During validation, we apply a series of labels to our pull request to communicate progress.
- Needs: author feedback: There is a failure with the submission. We will reassign pull request back to you. If you do not address the issue within 10 days, we will close the pull request.
- Manifest-Validation-Error: The submitted manifest contains a syntax error.
- URL-Validation-Error: One or more URLs in the submission failed SmartScreen validation.
- Binary-Validation-Error: The submitted application installer failed virus scan testing or there is a hash mismatch.
- Pull-Request-Error: There is a problem with the pull request. For example, the folder structure does not have the required format.
- Validation-Error: The submitted application failed a general validation test.
- Validation-Installation-Error: The submitted application failed install testing.
- Validation-Uninstall-Error: The submitted application failed uninstall testing.
- Validation-Virus-Scan-Error: The submitted application failed virus scan testing.
- Azure-Pipeline-Passed: The manifest has completed the first portion of validation. After this step, your pull request is assigned to our test team for final validation.
- Validation-Completed: The validation is complete and your pull request will be merged.