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,965,875

Downloads of v 8.7.1:

83,908

Last Update:

27 Mar 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.7.1 | Updated: 27 Mar 2024

Downloads:

3,965,875

Downloads of v 8.7.1:

83,908

Maintainer(s):

Software Author(s):

  • Daniel Stenberg
  • cURL Contributors

cURL 8.7.1

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

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.7.1'
    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.7.1'
end

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


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

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


package { 'curl':
  ensure   => '8.7.1',
  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 27 Mar 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.


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.
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.7.1_1/curl-8.7.1_1-win32-mingw.zip
   x64: https://curl.se/windows/dl-8.7.1_1/curl-8.7.1_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: 0B572F86EDB3CBA89414A1FDF38AA5C905BDA33D07D03AF56D89AAB543DABB07
   checksum64: 57E9E58030D26D166267632AA313676775E0F0AFC2FEAB7369CF6DBDD8737CAF

File 'LICENSE.txt' obtained from:
   https://github.com/curl/curl/blob/835c2634212257d41c1a30c6cc0ad3ed60bb9aca/COPYING
tools\cacert.pem
 
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

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

$packageArgs = @{
    PackageName    = $env:chocolateyPackageName
    FileFullPath   = "$toolsPath\curl-8.7.1_1-win32-mingw.zip"
    FileFullPath64 = "$toolsPath\curl-8.7.1_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.7.1_1-win32-mingw.zip
md5: C1371D7DB66A94F3228F3D3F4878A507 | sha1: 9B84095EC941FACFBCAB9206A739990C1A677A64 | sha256: 0B572F86EDB3CBA89414A1FDF38AA5C905BDA33D07D03AF56D89AAB543DABB07 | sha512: B4263D3C96D5050B2CF608F2419A667BC07F7F9941FF0A1F56FDD960A795B69DB695FF35E3F3AD05F6D6101522472B04AB9A00F2549625A74C18DE7A2747EF91
tools\curl-8.7.1_1-win64-mingw.zip
md5: 98FF1C0D35F87FC990DDC3FE4326003B | sha1: BCB7AE5E441D02D0060439C5905CFF77284D5057 | sha256: 57E9E58030D26D166267632AA313676775E0F0AFC2FEAB7369CF6DBDD8737CAF | sha512: 7DC1A4C66C78BD94AD7987BEF71D8DEE9DA338B80D69E8CFDAE70082B527FA4F797B986DD37E52B8A3AD72D85AA75B7B62DFFAFA9023F735CE16BE259912B384

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.6.0 93913 Wednesday, January 31, 2024 Approved
cURL 8.5.0 96715 Wednesday, December 6, 2023 Approved
cURL 8.4.0 109456 Wednesday, October 11, 2023 Approved
cURL 8.3.0 48617 Wednesday, September 13, 2023 Approved
cURL 8.2.1 87765 Wednesday, July 26, 2023 Approved
cURL 8.2.0 25801 Wednesday, July 19, 2023 Approved
cURL 8.1.2 93002 Tuesday, May 30, 2023 Approved
cURL 8.1.1 26569 Tuesday, May 23, 2023 Approved
cURL 8.1.0 29806 Wednesday, May 17, 2023 Approved
cURL 8.0.1 96982 Monday, March 20, 2023 Approved
cURL 8.0.0 3314 Monday, March 20, 2023 Approved
cURL 7.88.1 57050 Monday, February 20, 2023 Approved
cURL 7.88.0 18069 Wednesday, February 15, 2023 Approved
cURL 7.87.0 92648 Thursday, December 22, 2022 Approved
cURL 7.86.0 83957 Wednesday, October 26, 2022 Approved
cURL 7.85.0 94555 Wednesday, August 31, 2022 Approved
cURL 7.84.0 86500 Monday, June 27, 2022 Approved
cURL 7.83.1 60959 Wednesday, May 11, 2022 Approved
cURL 7.83.0 58258 Wednesday, April 27, 2022 Approved
cURL 7.82.0 65066 Saturday, March 5, 2022 Approved
cURL 7.81.0 111285 Wednesday, January 5, 2022 Approved
cURL 7.80.0 70858 Wednesday, November 10, 2021 Approved
cURL 7.79.1 66223 Wednesday, September 22, 2021 Approved
cURL 7.79.0 19741 Wednesday, September 15, 2021 Approved
cURL 7.78.0 58520 Wednesday, July 21, 2021 Approved
cURL 7.77.0 88253 Wednesday, May 26, 2021 Approved
cURL 7.76.1 66164 Wednesday, April 14, 2021 Approved
cURL 7.76.0 33278 Wednesday, March 31, 2021 Approved
cURL 7.75.0.20210225 76483 Thursday, February 25, 2021 Approved
cURL 7.75.0 41460 Saturday, February 13, 2021 Approved
cURL 7.73.0 218092 Thursday, October 15, 2020 Approved
cURL 7.72.0 67920 Wednesday, August 19, 2020 Approved
cURL 7.71.1 45747 Thursday, July 2, 2020 Approved
cURL 7.71.0 13330 Wednesday, June 24, 2020 Approved
cURL 7.70.0 56565 Thursday, April 30, 2020 Approved
cURL 7.69.1 46323 Thursday, March 12, 2020 Approved
cURL 7.69.0 10480 Friday, March 6, 2020 Approved
cURL 7.68.0 57722 Thursday, January 9, 2020 Approved
cURL 7.67.0 67282 Thursday, November 7, 2019 Approved
cURL 7.66.0.20190926 44347 Thursday, September 26, 2019 Approved
cURL 7.66.0 23920 Wednesday, September 11, 2019 Approved
cURL 7.65.3 53088 Saturday, July 20, 2019 Approved
cURL 7.65.2 7199 Thursday, July 18, 2019 Approved
cURL 7.65.1 45195 Wednesday, June 5, 2019 Approved
cURL 7.65.0 17423 Friday, May 24, 2019 Approved
cURL 7.64.1 58034 Thursday, March 28, 2019 Approved
cURL 7.64.0 39607 Thursday, February 7, 2019 Approved
cURL 7.63.0 46222 Thursday, December 13, 2018 Approved
cURL 7.62.0 37938 Wednesday, October 31, 2018 Approved
cURL 7.61.1 57234 Wednesday, September 5, 2018 Approved
cURL 7.61.0 69345 Wednesday, July 11, 2018 Approved
cURL 7.60.0 51700 Thursday, May 17, 2018 Approved
cURL 7.59.0.20180507 13115 Monday, May 7, 2018 Approved
cURL 7.59.0.20180504 5758 Friday, May 4, 2018 Approved
cURL 7.59.0 72416 Sunday, March 18, 2018 Approved
cURL 7.58.0.20180213 45905 Tuesday, February 13, 2018 Approved
cURL 7.58.0 20194 Thursday, January 25, 2018 Approved
cURL 7.57.0 57534 Thursday, November 30, 2017 Approved
cURL 7.56.1 54866 Monday, October 23, 2017 Approved
cURL 7.56.0 25768 Thursday, October 5, 2017 Approved
cURL 7.55.1 74489 Monday, August 14, 2017 Approved
cURL 7.55.0 7912 Thursday, August 10, 2017 Approved
cURL 7.54.1 69481 Thursday, June 15, 2017 Approved
cURL 7.54.0 74189 Monday, April 24, 2017 Approved
cURL (Portable) 7.52.1 42036 Wednesday, February 1, 2017 Approved
cURL 7.28.1 216516 Tuesday, December 4, 2012 Approved
cURL 7.25.0 1854 Wednesday, April 11, 2012 Unknown
cURL 7.24.0.20120225 797 Saturday, February 25, 2012 Unknown
cURL 7.23.1 842 Wednesday, December 14, 2011 Unknown
cURL 7.22.0 842 Friday, October 14, 2011 Unknown
cURL 7.21.7 1257 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