🔗 Connect to Your Winget Repository

Follow these steps to connect any Windows Client to your Winget-Repo Cloud instance.


🔑 Steps

  1. 🛡️ Client Authentication (Optional)
  2. If you are using client authentication, make sure you added your client in the Clients tab of your cloud dashboard.

  3. ➕ Add Winget-Repo as a Source
    Run the following command as the same user who will execute the Winget client.
    Administrator privileges are required.

Without Authentication:

winget source add -n <your tenant hostname> -t "Microsoft.Rest" -a https://cloud.winget-repo.io/cloud/api/<your_tenant_hostname>/"

With Authentication:

winget source add -n <your tenant hostname> -t "Microsoft.Rest" -a https://cloud.winget-repo.io/cloud/api/<your_tenant_hostname>/ --header "{'Token': '<client_authentication_key>'}"