Chocolatey

Feedz supports Chocolatey packages via the NuGet v2 and v3 protocols. Use it with choco.exe or nuget.exe to host private Chocolatey packages in your own repository.

Repository URL

Your repository URL follows this format:

https://f.feedz.io/{organisation}/{repository}/nuget/index.json

Adding a Chocolatey source

Use the choco source add command to register your Feedz repository as a Chocolatey source. Pass your personal access token as the password:

choco source add \
  --name feedz \
  --source https://f.feedz.io/my-org/my-repo/nuget/index.json \
  --user feedz \
  --password <your-token>
The username value is ignored by Feedz — any non-empty string works. Use the access token as the password.

Publishing packages

Push a Chocolatey package using choco.exe or nuget.exe:

choco push MyPackage.1.0.0.nupkg \
  --source https://f.feedz.io/my-org/my-repo/nuget/index.json \
  --api-key <your-token>
nuget push MyPackage.1.0.0.nupkg \
  -Source https://f.feedz.io/my-org/my-repo/nuget/index.json \
  -ApiKey <your-token>

Installing packages

Once the source is registered, install packages as normal:

choco install MyPackage --source feedz

NuGet compatibility

Chocolatey packages are stored and indexed the same way as NuGet packages. A package uploaded via the Chocolatey endpoint is also accessible through the NuGet feed in the same repository.