ProGet Documentation

Chocolatey Feeds in ProGet

  • Last Modified: 2019-04-10

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

Installing Packages

Chocolatey packages are installed using Chocolatey. To install a package from a ProGet feed, use the following command:

choco install {package-name} --version {package-version} --source http://{proget-server}/nuget/{feed-name}/

Creating Packages

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

Differences from NuGet Feeds

Since Chocolatey is built on the NuGet infrastructure, a Chocolatey feed in ProGet is actually a type of NuGet feed. Functionally, it behaves exactly the same as a NuGet feed, but the user interface is optimized for Chocolatey packages:

  • Packages in Chocolatey feeds have a different icon to indicate that they are intended for use by Chocolatey
  • Package install instructions also provide an example for installing the package using choco instead of NuGet

In the video below, Chocolatey founder Rob Reynolds presents a demo of ProGet and Chocolatey, reviewing how both come together to provide a complete Windows package management solution.

Is this documentation incorrect or incomplete? Help us by contributing!

This documentation is licensed under CC-BY-SA-4.0 and stored in GitHub.