Logo
Winget-Repo Documentation

📦 Setup Your Winget Repository via Pre-Indexed Source

Follow these steps to setup your Winget-Repo instance for the pre-indexed source.

  1. Open the Repository Settings ⚙️
    Navigate to the settings of your Winget-Repo instance.

  2. Enable the Pre-Indexed Source
    Enable the "Winget Pre-Indexed Source" option and confirm the warning prompt.

  3. Generate a Certificate 🔐
    After saving, a new button will appear. Use it to generate a certificate for the package.
    You can choose whether to protect it with a password.

  4. Import the Certificate on Each Client 🖥️
    The generated certificate must be imported on every client that should connect to the repository.
    Open PowerShell as Administrator and run the appropriate command:

   Import-Certificate -FilePath "winget-repo.cer" -CertStoreLocation Cert:\LocalMachine\TrustedPeople
  1. Create the Package 📦
    Return to the homepage of your repository. In the top-right corner, you will find a button to create the pre-indexed package.

After completing these steps, your clients are ready to use the pre-indexed source! 🎉