Welcome to the Chocolatey Community Package Repository! The packages found in this section of the site are provided, maintained, and moderated by the community.
Moderation
Every version of each package undergoes a rigorous moderation process before it goes live that typically includes:
- Security, consistency, and quality checking
- Installation testing
- Virus checking through VirusTotal
- Human moderators who give final review and sign off
More detail at Security and Moderation.
Organizational Use
If you are an organization using Chocolatey, we want your experience to be fully reliable. Due to the nature of this publicly offered repository, reliability cannot be guaranteed. Packages offered here are subject to distribution rights, which means they may need to reach out further to the internet to the official locations to download files at runtime.
Fortunately, distribution rights do not apply for internal use. With any edition of Chocolatey (including the free open source edition), you can host your own packages and cache or internalize existing community packages.
Disclaimer
Your use of the packages on this site means you understand they are not supported or guaranteed in any way. Learn more...
- Passing
- Failing
- Pending
- Unknown / Exempted

Downloads:
1,148,303
Downloads of v 2.6.0.20161207:
15,107
Last Update:
07 Dec 2016
Package Maintainer(s):
Software Author(s):
- Red Hat
- Inc.
Tags:
Cygwin foss cli unix posix linux admin
Cygwin
This is not the latest version of Cygwin available.
Downloads:
1,148,303
Downloads of v 2.6.0.20161207:
15,107
Maintainer(s):
Software Author(s):
- Red Hat
- Inc.
Edit Package
To edit the metadata for a package, please upload an updated version of the package.
Chocolatey's Community Package Repository currently does not allow updating package metadata on the website. This helps ensure that the package itself (and the source used to build the package) remains the one true source of package metadata.
This does require that you increment the package version.
Cygwin 2.6.0.20161207
This is not the latest version of Cygwin available.
This Package Contains an Exempted Check
1 Test Passing and 1 Exempted Test
Validation Testing Passed
Verification Testing Exempt:
Please exempt this package from the verifier. It installs properly but there are other issues when it attempts to use mirrors.
To install Cygwin, run the following command from the command line or from PowerShell:
To upgrade Cygwin, run the following command from the command line or from PowerShell:
To uninstall Cygwin, run the following command from the command line or from PowerShell:
NOTE: This applies to both open source and commercial editions of Chocolatey.
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
- Download the Package Download
- Follow manual internalization instructions
-
Package Internalizer (C4B)
- Run
choco download cygwin --internalize --version=2.6.0.20161207 --source=https://community.chocolatey.org/api/v2
(additional options) - Run
choco push --source="'http://internal/odata/repo'"
for package and dependencies - Automate package internalization
- Run
3. Enter your internal repository url
(this should look similar to https://community.chocolatey.org/api/v2)
4. Choose your deployment method:
choco upgrade cygwin -y --source="'STEP 3 URL'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade cygwin -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Ensure cygwin installed
win_chocolatey:
name: cygwin
state: present
version: 2.6.0.20161207
source: STEP 3 URL
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'cygwin' do
action :install
version '2.6.0.20161207'
source 'STEP 3 URL'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
Chocolatey::Ensure-Package
(
Name: cygwin,
Version: 2.6.0.20161207,
Source: STEP 3 URL
);
Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.
cChocoPackageInstaller cygwin
{
Name = 'cygwin'
Ensure = 'Present'
Version = '2.6.0.20161207'
Source = 'STEP 3 URL'
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'cygwin':
provider => 'chocolatey',
ensure => '2.6.0.20161207',
source => 'STEP 3 URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
salt '*' chocolatey.install cygwin version="2.6.0.20161207" source="STEP 3 URL"
See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.
5. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
This package was approved by moderator gep13 on 08 Dec 2016.
Cygwin is a collection of tools which provide a Linux look and feel environment for Windows. Cygwin is also a DLL (cygwin1.dll) which acts as a Linux API layer providing substantial Linux API functionality.
Package parameters
InstallDir
- Set install locationDesktopIcon
- Set to true to install desktop iconProxy
- Set to "proxy:port". Otherwise system proxy or explicit chocolatey proxy will be usedPubkey
- URL of extra public key file (gpg format)Site
- Download siteNoStartMenu
- Set to true to prevent installation of start menu items
Notes
- This package provides only the last version of Cygwin.
- For better functionality, it is recommended you install the cyg-get package. Use the cyg-get utility to add packages to your Cygwin installation.
# https://cygwin.com/faq/faq.html#faq.setup.cli
$ErrorActionPreference = 'Stop'
$pp = Get-PackageParameters
$cygwin_root = (Get-ItemProperty 'HKLM:\SOFTWARE\Cygwin\setup' -ea 0).rootdir
if (!$cygwin_root) {
$cygwin_root = if ($pp.InstallDir) { $pp.InstallDir } else { (Get-BinRoot) + '\cygwin' }
} else { Write-Host 'Existing installation detected, ignoring InstallDir argument' }
if (!$pp.Proxy) {
$pp.Proxy = $Env:ChocolateyProxyLocation
if (!$pp.Proxy) {
$wc = New-Object System.Net.WebClient; $url = 'https://cygwin.com'
$pp.Proxy = if (!$wc.Proxy.IsBypassed($url)) { $wc.Proxy.GetProxy($url).Authority }
}
}
if (!$pp.Site) { $pp.Site = 'http://mirrors.kernel.org/sourceware/cygwin/' }
Write-Host "Download site: $($pp.Site)"
$silentArgs = @(
'--quiet-mode'
"--site $($pp.Site)"
'--packages default'
"--root $cygwin_root"
"--local-package-dir $cygwin_root"
if (!$pp.DesktopIcon) { '--no-desktop' } else { Write-Host 'Desktop icon will be created' }
if ($pp.NoStartMenu) { '--no-startmenu'; Write-Host 'No start menu items will be created' }
if ($pp.Proxy) { "--proxy $($pp.Proxy)"; Write-Host "Using proxy: $($pp.Proxy)" }
if ($pp.Pubkey) { "--pubkey $($pp.Pubkey)";Write-Host "URL of extra public key file is provided" }
)
$packageArgs = @{
packageName = 'Cygwin'
fileType = 'exe'
url = 'https://cygwin.com/setup-x86.exe'
url64bit = 'https://cygwin.com/setup-x86_64.exe'
checksum = '5540542d7fa1d1f13453e7a250c1c6de44a6a794e81ffde0dfea6b5689dbc052'
checksum64 = '446b658bc1b8b6c7865474188cb4d7e9873003e2b6a9d74dcdfb7a3ff77e8634'
checksumType = 'sha256'
checksumType64 = 'sha256'
silentArgs = $silentArgs
validExitCodes = @(0)
}
Install-ChocolateyPackage @packageArgs
Install-BinFile -Name "Cygwin" -Path "$cygwin_root\Cygwin.bat"
Write-Host "Copying cygwin package manager (setup) to $cygwin_root"
$setup_path = if (Get-ProcessorBits 64) { $packageArgs.url64bit } else { $packageArgs.url }
$setup_path = "{0}\{1}" -f (Get-PackageCacheLocation), ($setup_path -split '/' | select -Last 1)
if (!$setup_path) { Write-Warning "Can't find setup path"; return }
cp $setup_path $cygwin_root\cygwinsetup.exe
$ErrorActionPreference = 'Stop'
$cygwin_root = (Get-ItemProperty 'HKLM:\SOFTWARE\Cygwin\setup' -ea 0).rootdir
rm 'HKLM:\SOFTWARE\Cygwin' -Recurse -ErrorAction SilentlyContinue
if (Test-Path "$cygwin_root\Cygwin.bat") {
Write-Host 'Removing cygwin files'
rm $cygwin_root -recurse -force -ea 0
}
Uninstall-BinFile -Name Cygwin
Log in or click on link to see number of positives.
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Version | Downloads | Last Updated | Status |
---|---|---|---|
Cygwin 3.2.0 | 15415 | Tuesday, March 30, 2021 | Approved |
Cygwin 3.1.7 | 21866 | Wednesday, February 24, 2021 | Approved |
Cygwin 3.1.6 | 187418 | Monday, July 13, 2020 | Approved |
Cygwin 3.1.5 | 47442 | Monday, June 1, 2020 | Approved |
Cygwin 3.1.4 | 117535 | Wednesday, February 19, 2020 | Approved |
Cygwin 3.1.2 | 60899 | Saturday, December 21, 2019 | Approved |
Cygwin 3.1.1 | 3488 | Thursday, December 19, 2019 | Approved |
Cygwin 3.1.0 | 2739 | Tuesday, December 17, 2019 | Approved |
Cygwin 3.0.7.20191022 | 58296 | Tuesday, October 22, 2019 | Approved |
Cygwin 3.0.7 | 118281 | Wednesday, May 1, 2019 | Approved |
Cygwin 3.0.6 | 20687 | Saturday, April 6, 2019 | Approved |
Cygwin 3.0.5 | 6642 | Sunday, March 31, 2019 | Approved |
Cygwin 3.0.4 | 12585 | Saturday, March 16, 2019 | Approved |
Cygwin 3.0.3 | 6367 | Sunday, March 10, 2019 | Approved |
Cygwin 3.0.1 | 13708 | Wednesday, February 20, 2019 | Approved |
Cygwin 3.0.0 | 3976 | Saturday, February 16, 2019 | Approved |
Cygwin 2.11.2.20181212 | 37328 | Wednesday, December 12, 2018 | Approved |
Cygwin 2.11.2 | 18848 | Saturday, November 10, 2018 | Approved |
Cygwin 2.11.0 | 48319 | Friday, August 31, 2018 | Approved |
Cygwin 2.10.0 | 101953 | Friday, February 2, 2018 | Approved |
Cygwin 2.9.0 | 55883 | Thursday, September 7, 2017 | Approved |
Cygwin 2.8.2 | 22747 | Wednesday, July 12, 2017 | Approved |
Cygwin 2.8.1 | 4363 | Monday, July 3, 2017 | Approved |
Cygwin 2.8.0.20170607 | 11138 | Wednesday, June 7, 2017 | Approved |
Cygwin 2.8.0 | 17422 | Sunday, April 2, 2017 | Approved |
Cygwin 2.7.0 | 21446 | Sunday, February 12, 2017 | Approved |
Cygwin 2.6.1 | 14601 | Wednesday, January 11, 2017 | Approved |
Cygwin 2.6.0.20161207 | 15107 | Wednesday, December 7, 2016 | Approved |
Cygwin 2.6.0.20161202 | 3865 | Friday, December 2, 2016 | Approved |
Cygwin 2.5.2 | 9092 | Thursday, June 23, 2016 | Approved |
Cygwin 2.5.1 | 1880 | Friday, April 22, 2016 | Approved |
Cygwin 2.5.0 | 2018 | Monday, April 11, 2016 | Approved |
Cygwin 2.4.1 | 6400 | Monday, January 25, 2016 | Approved |
Cygwin 2.4.0 | 1528 | Saturday, January 16, 2016 | Approved |
Cygwin 2.3.1 | 3204 | Saturday, December 12, 2015 | Approved |
Cygwin 2.3.0 | 5922 | Monday, November 9, 2015 | Approved |
Cygwin 2.2.1 | 6545 | Friday, August 21, 2015 | Approved |
Cygwin 2.2.0 | 2463 | Monday, August 3, 2015 | Approved |
Cygwin 2.1.0 | 2103 | Wednesday, July 15, 2015 | Approved |
Cygwin 2.0.4 | 3194 | Tuesday, June 9, 2015 | Approved |
Cygwin 2.0.3.20150603 | 1048 | Wednesday, June 3, 2015 | Approved |
Cygwin 2.0.3 | 502 | Wednesday, June 3, 2015 | Approved |
Cygwin 2.0.2.20150603 | 473 | Tuesday, June 2, 2015 | Approved |
Cygwin 2.0.2.20150602 | 469 | Tuesday, June 2, 2015 | Approved |
Cygwin 2.0.2 | 522 | Tuesday, June 2, 2015 | Approved |
Cygwin 2.0.0 | 3070 | Monday, April 27, 2015 | Approved |
Cygwin 1.7.35 | 4188 | Friday, March 6, 2015 | Approved |
Cygwin 1.7.34 | 2816 | Wednesday, February 4, 2015 | Approved |
Cygwin 1.7.33.20150102 | 2822 | Friday, January 2, 2015 | Approved |
Cygwin 1.7.33 | 2448 | Thursday, November 13, 2014 | Approved |
Cygwin 1.7.32 | 4099 | Tuesday, August 26, 2014 | Approved |
Cygwin 1.7.31 | 1035 | Monday, August 11, 2014 | Approved |
Cygwin 1.7.23.20130814 | 7349 | Wednesday, August 14, 2013 | Approved |
Cygwin 1.7.23 | 533 | Wednesday, August 14, 2013 | Approved |
Cygwin 1.7.20.1 | 855 | Wednesday, June 26, 2013 | Approved |
Red Hat, Inc.
-
- chocolatey-core.extension (≥ 1.0.2)
Ground Rules:
- This discussion is only about Cygwin and the Cygwin package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or Cygwin, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.