How To Setup the Chocolatey.Server Package

What is Chocolatey.Server?

The Chocolatey.Server package contains the binaries for a fully ready to go Chocolatey NuGet Server where you can serve packages over HTTP using a NuGet-compatible OData feed.

Chocolatey Server is a simple Nuget.Server that is ready to rock and roll. It has already completed Steps 1–3 of NuGet's host your own remote feed. Version 0.1.2 has the following additional adds:

When you install it, it will install the website typically to c:\tools\chocolatey.server.

Setup with Puppet

If you are using the Puppet module chocolatey/chocolatey_server, it will do all of the additional setup for this package and allow some customization.

The module works with Windows Server 2008/2012.
For a simple include chocolatey_server it does the following automatically:

Setup Normally

Additional Configuration

Looking for where the apikey is and how it is changed, that is all done through the web.config. The config is pretty well-documented on each of the appSettings key values.

To update the apiKey, it is kept in the web.config, search for that value and update it. If you reach out to the server on https://localhost (it will show you what the apikey is, only locally though).


To configure for performance, you will want to do the following:


We are looking to add support for the package source to automatically handle this aspect -