Github url


by chocolatey

chocolatey /choco

Chocolatey - the package manager for Windows

6.7K Stars 678 Forks Last release: Not found Other 3.0K Commits 54 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Chocolatey - like yum or apt-get, but for Windows

You can just call me choco.

Chocolatey Logo

Project Stats

TeamCity | AppVeyor | Travis ------------- | ------------- | -------------TeamCity Build Status | AppVeyor Build Status | Travis Build Status

Chat Room

Come join in the conversation about Chocolatey in our Gitter Chat Room.


Or, you can find us in IRC at #chocolatey on freenode. IRC is not as often checked by committers, so it is recommended you stick to Gitter if you need more timely assistance.

Please make sure you've read over and agree with the etiquette regarding communication.

Support Chocolatey!

See Chocolatey In Action

Chocolatey FOSS install showing tab completion and


(a way to update environment variables without restarting your shell):


Chocolatey Pro showing private CDN download cache and virus scan protection:

install w/pro

Etiquette Regarding Communication

If you are an open source user requesting support, please remember that most folks in the Chocolatey community are volunteers that have lives outside of open source and are not paid to ensure things work for you, so please be considerate of others' time when you are asking for things. Many of us have families that also need time as well and only have so much time to give on a daily basis. A little consideration and patience can go a long way. After all, you are using a pretty good tool without cost. It may not be perfect (yet), and we know that.

If you are using a commercial edition of Chocolatey, you have different terms! Please see support.



Please see the docs


choco.exe -?

a shot (or

choco.exe -h

). For specific commands, add the command and then the help switch e.g.

choco.exe install -h



  • .NET Framework 4.0+
  • PowerShell 2.0+
  • Windows Server 2003+ / Windows 7+

License / Credits

Apache 2.0 - see LICENSE and NOTICE files.

Submitting Issues

submitting issues

  1. Start with Troubleshooting and the FAQ to see if your question or issue already has an answer.
  2. If not found or resolved, please follow one of the following avenues:
    • If you are a licensed customer, please see support. You can also log an issue to Licensed Issues and we will submit issues to all other places on your behalf. Another avenue is to use email support to have us submit tickets and other avenues on your behalf (allowing you to maintain privacy).
    • If it is an enhancement request or issue with the website (the community package repository aka, please submit the issue to the repo.
    • If you have found an issue with the GUI (Chocolatey GUI) or you want to submit an enhancement, please see the ChocolateyGUI repository.
    • If you have found an issue with the client (choco.exe), you are in the right place. Keep reading below.

Observe the following help for submitting an issue:


  • The issue has to do with choco itself and is not a package or website issue.
  • Please check to see if your issue already exists with a quick search of the issues. Start with one relevant term and then add if you get too many results.
  • You are not submitting an "Enhancement". Enhancements should observe CONTRIBUTING guidelines.
  • You are not submitting a question - questions are better served as emails or gitter chat questions.
  • Please make sure you've read over and agree with the etiquette regarding communication.

Submitting a ticket:

  • We'll need debug and verbose output, so please run and capture the log with ```
  • dv
  • -debug --verbose ``` . You can submit that with the issue or create a gist and link it.
  • Please note that the debug/verbose output for some commands may have sensitive data (passwords or apiKeys) related to Chocolatey, so please remove those if they are there prior to submitting the issue.
  • choco.exe logs to a file in
    . You can grab the specific log output from there so you don't have to capture or redirect screen output. Please limit the amount included to just the command run (the log is appended to with every command).
  • Please save the log output in a gist (save the file as
    ) and link to the gist from the issue. Feel free to create it as secret so it doesn't fill up against your public gists. Anyone with a direct link can still get to secret gists. If you accidentally include secret information in your gist, please delete it and create a new one (gist history can be seen by anyone) and update the link in the ticket (issue history is not retained except by email - deleting the gist ensures that no one can get to it). Using gists this way also keeps accidental secrets from being shared in the ticket in the first place as well.
  • We'll need the entire log output from the run, so please don't limit it down to areas you feel are relevant. You may miss some important details we'll need to know. This will help expedite issue triage.
  • It's helpful to include the version of choco, the version of the OS, and the version of PowerShell (Posh) - the debug script should capture all of those pieces of information.
  • Include screenshots and/or animated gifs whenever possible, they help show us exactly what the problem is.


If you would like to contribute code or help squash a bug or two, that's awesome. Please familiarize yourself with CONTRIBUTING.


Committers, you should be very familiar with COMMITTERS.

Compiling / Building Source

There is a



file that creates a necessary generated file named


. It must be run at least once before Visual Studio will build.



  • .NET Framework 3.5 (This is a windows feature installation).
  • .NET Framework 4+
  • Visual Studio is helpful for working on source.
  • ReSharper is immensely helpful (and there is a
    file to help with code conventions).

Build Process:

  • Run

Running the build on Windows should produce an artifact that is tested and ready to be used.

Other Platforms

  • Install and configure Mono 5.20.x (Other versions may work but have not been tested).
# install prerequisites sudo apt install apt-transport-https dirmngr gnupg ca-certificates # add the key sudo apt-key adv --keyserver hkp:// --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF # add the package repository # Debian 10 echo "deb stable-buster main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list # Debian 9 echo "deb stable-stretch main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list # Ubuntu 18.04 echo "deb stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list # Ubuntu 16.04 echo "deb stable-xenial main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list # update package indexes sudo apt-get update # install sudo apt-get install mono-devel -y
### NOT FULLY TESTED AND WORKING ### # Switch to root shell su # Add the EPEL yum install epel-release -y # Add the key pmkeys --import "" # Add the package repository # CentOS/RHEL 8 su -c 'curl | tee /etc/yum.repos.d/mono-centos8-stable.repo' # CentOS/RHEL 7 su -c 'curl | tee /etc/yum.repos.d/mono-centos7-stable.repo' # CentOS/RHEL 6 rpm --import "" # Update your system yum update -y # Install mono-devel yum install mono-devel -y
### NOT FULLY TESTED AND WORKING ### # Switch to root shell su # Add the key rpm --import "" # Add the package repository # Fedora 29 su -c 'curl | tee /etc/yum.repos.d/mono-centos8-stable.repo' # Fedora 28 su -c 'curl | tee /etc/yum.repos.d/mono-centos7-stable.repo' # Update dnf update # Install mono-devel dnf install mono-devel -y
  • Xamarin Studio is helpful for working on source.
  • Consider adding the following to your
    (or other relevant dot source file):
# mono # # export PKG\_CONFIG\_PATH=/opt/local/lib/pkgconfig:/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig:$PKG\_CONFIG\_PATH
  • Set your permissions correctly:
chmod +x chmod +x
Build Process:
  • Run

Running the build on Mono produces an artifact similar to Windows but may have more rough edges. You may get a failure or two in the build script that can be safely ignored.


Chocolatey is brought to you by quite a few people and frameworks. See CREDITS (just LEGAL/ in the zip folder).

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.