Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

3,807,372

Downloads of v 8.6.0:

42,245

Last Update:

31 Jan 2024

Package Maintainer(s):

Software Author(s):

  • Daniel Stenberg
  • cURL Contributors

Tags:

curl URL ssh ssl download foss cros-platform cli

cURL

  • 1
  • 2
  • 3

8.6.0 | Updated: 31 Jan 2024

Downloads:

3,807,372

Downloads of v 8.6.0:

42,245

Maintainer(s):

Software Author(s):

  • Daniel Stenberg
  • cURL Contributors

cURL 8.6.0

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install cURL, run the following command from the command line or from PowerShell:

>

To upgrade cURL, run the following command from the command line or from PowerShell:

>

To uninstall cURL, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

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

3. Copy Your Script

choco upgrade curl -y --source="'INTERNAL REPO 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 curl -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install curl
  win_chocolatey:
    name: curl
    version: '8.6.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'curl' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '8.6.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller curl
{
    Name     = "curl"
    Version  = "8.6.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'curl':
  ensure   => '8.6.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 31 Jan 2024.

Description

curl is used in command lines or scripts to transfer data. It is also used in cars, television sets, routers, printers, audio equipment, mobile phones, tablets, settop boxes, media players and is the internet transfer backbone for thousands of software applications affecting billions of humans daily.

Features

Supports DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, HTTP/2, HTTP/3, cookies, user+password authentication (Basic, Plain, Digest, CRAM-MD5, NTLM, Negotiate and Kerberos), file transfer resume, proxy tunneling and more.


tools\cacert.pem
 
tools\curl-8.6.0_1-win32-mingw.zip
md5: D356E20E4618F873E4D114ACB8890736 | sha1: 04C8DE10CAA86821488E1285C5926F59B6BFB829 | sha256: CD5CE92CEA745BAB3F40ACAB88F312B59E6CF94CEE36BE8308AFCBF22B31F66E | sha512: D3ECEB8A0B0FCC957295D0247E20003891BD8706388C99E845CAAC81C0547A4D81C71446156AC48EF69DCAC6DED90D0DE229EFE83FA1103D414B3979898CD9AB
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$toolsPath = Split-Path $MyInvocation.MyCommand.Definition

$packageArgs = @{
    PackageName    = $env:chocolateyPackageName
    FileFullPath   = "$toolsPath\curl-8.6.0_1-win32-mingw.zip"
    FileFullPath64 = "$toolsPath\curl-8.6.0_1-win64-mingw.zip"
    Destination    = $toolsPath
}

Get-ChildItem $toolsPath\* | Where-Object { $_.PSISContainer } | Remove-Item -Recurse -Force #remove older package dirs
Get-ChocolateyUnzip @packageArgs
Remove-Item $toolsPath\*.zip -ea 0

Move-Item -Path "$toolsPath\cacert.pem" -Destination "$toolsPath\curl*\bin\curl-ca-bundle.crt" -Force
tools\curl-8.6.0_1-win64-mingw.zip
md5: CCB9851EC41D166B7114D7AADC23ACEA | sha1: 5EF10F2DB2283D1B42011696336E47BCB226B32C | sha256: 128F6D79CDB61A8F0443E1173D1D7E95B5648D4D4EBD610F622A7AF5CDD10E29 | sha512: 52AADEB983B6ABD8E6B762402F5BF3038B6D700A7166A187587E5F443141330D3624B8B522D208FAE894FF144C7D54792863BBC41454E9177928F5997AC38F18
legal\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

Package can be verified like this:

1. Go to https://curl.se/windows/, and look for the official binaries provided.

   x32: https://curl.se/windows/dl-8.6.0_1/curl-8.6.0_1-win32-mingw.zip
   x64: https://curl.se/windows/dl-8.6.0_1/curl-8.6.0_1-win64-mingw.zip

   to download the zip files. You may wish to rename one of the files.

2. You can use one of the following methods to obtain the SHA256 checksum:
   - Use powershell function 'Get-FileHash'
   - Use Chocolatey utility 'checksum.exe'

   checksum32: CD5CE92CEA745BAB3F40ACAB88F312B59E6CF94CEE36BE8308AFCBF22B31F66E
   checksum64: 128F6D79CDB61A8F0443E1173D1D7E95B5648D4D4EBD610F622A7AF5CDD10E29

File 'LICENSE.txt' obtained from:
   https://github.com/curl/curl/blob/835c2634212257d41c1a30c6cc0ad3ed60bb9aca/COPYING
legal\LICENSE.txt
From: https://github.com/curl/curl/blob/835c2634212257d41c1a30c6cc0ad3ed60bb9aca/COPYING

LICENSE

COPYRIGHT AND PERMISSION NOTICE

Copyright (c) 1996 - 2021, Daniel Stenberg, <[email protected]>, and many
contributors, see the THANKS file.

All rights reserved.

Permission to use, copy, modify, and distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright
notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name of a copyright holder shall not
be used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization of the copyright holder.

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.

Add to Builder Version Downloads Last Updated Status
cURL 8.5.0 94650 Wednesday, December 6, 2023 Approved
cURL 8.4.0 105335 Wednesday, October 11, 2023 Approved
cURL 8.3.0 48107 Wednesday, September 13, 2023 Approved
cURL 8.2.1 87619 Wednesday, July 26, 2023 Approved
cURL 8.2.0 25788 Wednesday, July 19, 2023 Approved
cURL 8.1.2 92221 Tuesday, May 30, 2023 Approved
cURL 8.1.1 26459 Tuesday, May 23, 2023 Approved
cURL 8.1.0 25735 Wednesday, May 17, 2023 Approved
cURL 8.0.1 96934 Monday, March 20, 2023 Approved
cURL 8.0.0 3306 Monday, March 20, 2023 Approved
cURL 7.88.1 57030 Monday, February 20, 2023 Approved
cURL 7.88.0 18032 Wednesday, February 15, 2023 Approved
cURL 7.87.0 91410 Thursday, December 22, 2022 Approved
cURL 7.86.0 83734 Wednesday, October 26, 2022 Approved
cURL 7.85.0 94541 Wednesday, August 31, 2022 Approved
cURL 7.84.0 86330 Monday, June 27, 2022 Approved
cURL 7.83.1 60936 Wednesday, May 11, 2022 Approved
cURL 7.83.0 54434 Wednesday, April 27, 2022 Approved
cURL 7.82.0 65057 Saturday, March 5, 2022 Approved
cURL 7.81.0 110230 Wednesday, January 5, 2022 Approved
cURL 7.80.0 70772 Wednesday, November 10, 2021 Approved
cURL 7.79.1 66150 Wednesday, September 22, 2021 Approved
cURL 7.79.0 19731 Wednesday, September 15, 2021 Approved
cURL 7.78.0 58505 Wednesday, July 21, 2021 Approved
cURL 7.77.0 85468 Wednesday, May 26, 2021 Approved
cURL 7.76.1 66146 Wednesday, April 14, 2021 Approved
cURL 7.76.0 33270 Wednesday, March 31, 2021 Approved
cURL 7.75.0.20210225 76464 Thursday, February 25, 2021 Approved
cURL 7.75.0 41177 Saturday, February 13, 2021 Approved
cURL 7.73.0 218070 Thursday, October 15, 2020 Approved
cURL 7.72.0 67906 Wednesday, August 19, 2020 Approved
cURL 7.71.1 45728 Thursday, July 2, 2020 Approved
cURL 7.71.0 13317 Wednesday, June 24, 2020 Approved
cURL 7.70.0 56431 Thursday, April 30, 2020 Approved
cURL 7.69.1 46310 Thursday, March 12, 2020 Approved
cURL 7.69.0 10468 Friday, March 6, 2020 Approved
cURL 7.68.0 57706 Thursday, January 9, 2020 Approved
cURL 7.67.0 67229 Thursday, November 7, 2019 Approved
cURL 7.66.0.20190926 44324 Thursday, September 26, 2019 Approved
cURL 7.66.0 23704 Wednesday, September 11, 2019 Approved
cURL 7.65.3 53051 Saturday, July 20, 2019 Approved
cURL 7.65.2 7186 Thursday, July 18, 2019 Approved
cURL 7.65.1 45171 Wednesday, June 5, 2019 Approved
cURL 7.65.0 17401 Friday, May 24, 2019 Approved
cURL 7.64.1 58012 Thursday, March 28, 2019 Approved
cURL 7.64.0 39592 Thursday, February 7, 2019 Approved
cURL 7.63.0 46205 Thursday, December 13, 2018 Approved
cURL 7.62.0 37916 Wednesday, October 31, 2018 Approved
cURL 7.61.1 57192 Wednesday, September 5, 2018 Approved
cURL 7.61.0 69330 Wednesday, July 11, 2018 Approved
cURL 7.60.0 51659 Thursday, May 17, 2018 Approved
cURL 7.59.0.20180507 13101 Monday, May 7, 2018 Approved
cURL 7.59.0.20180504 5740 Friday, May 4, 2018 Approved
cURL 7.59.0 72386 Sunday, March 18, 2018 Approved
cURL 7.58.0.20180213 45888 Tuesday, February 13, 2018 Approved
cURL 7.58.0 20177 Thursday, January 25, 2018 Approved
cURL 7.57.0 57518 Thursday, November 30, 2017 Approved
cURL 7.56.1 54847 Monday, October 23, 2017 Approved
cURL 7.56.0 25754 Thursday, October 5, 2017 Approved
cURL 7.55.1 74473 Monday, August 14, 2017 Approved
cURL 7.55.0 7894 Thursday, August 10, 2017 Approved
cURL 7.54.1 69459 Thursday, June 15, 2017 Approved
cURL 7.54.0 74171 Monday, April 24, 2017 Approved
cURL (Portable) 7.52.1 42017 Wednesday, February 1, 2017 Approved
cURL 7.28.1 216500 Tuesday, December 4, 2012 Approved
cURL 7.25.0 1842 Wednesday, April 11, 2012 Unknown
cURL 7.24.0.20120225 780 Saturday, February 25, 2012 Unknown
cURL 7.23.1 824 Wednesday, December 14, 2011 Unknown
cURL 7.22.0 827 Friday, October 14, 2011 Unknown
cURL 7.21.7 1236 Friday, October 14, 2011 Unknown

/changes.html


This package has no dependencies.

Discussion for the cURL Package

Ground Rules:

  • This discussion is only about cURL and the cURL 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 cURL, 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.
comments powered by Disqus