Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

Chocolatey Feeds in ProGet

view on GitHub

Chocolatey is a package manager for Windows. Similar to Linux tools like apt or yum, but designed specifically for Windows, Chocolatey is designed as a decentralized framework for quickly installing applications and tools you need.

Prerequisite Configuration

ProGet is compatible with all versions of the Chocolatey client, going back to the first release in 2011.

Installing Packages

There are four ways to add a package to your Chocolatey feed:

  1. Push via Chocolatey Command Line:
choco install {package-name} --version {package-version} --source http://{proget-server}/nuget/{feed-name}/
  1. Upload from disk
  2. Pull from Chocolatey.org
  3. Bulk import existing Chocolatey packages

Creating Packages

To learn how to create a package that can be hosted by ProGet, visit Creating Chocolatey Packages.

NuGet Feed Differences

Because the Chocolatey API is built on top of the NuGet v2 API, a Chocolatey feed in ProGet is actually a NuGet feed with some slight differences in behavior:

  • Packages in Chocolatey feeds have a different icon to indicate that they are intended for use by Chocolatey
  • The package installation instructions also include an example of installing the package using 'choco' instead of NuGet
  • The Package Usage feature is enabled, while the Package Consumers feature is disabled
  • Internalized packages can be hosted in Chocolatey feeds

ProGet + Chocolatey Webinar

In the following video, Chocolatey founder Rob Reynolds presents a demo of ProGet and Chocolatey, showing how the two combine to form a complete Windows package management solution.

ProGet's user interface has been updated since this video, but the instructions provided are still valid.