Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

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

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
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
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand

Downloads:

2,995,615

Downloads of v 7.87.0:

63,396

Last Update:

22 Dec 2022

Package Maintainer(s):

Software Author(s):

  • Daniel Stenberg
  • cURL Contributors

Tags:

curl URL ssh ssl download foss cros-platform cli

cURL

  • 1
  • 2
  • 3

7.87.0 | Updated: 22 Dec 2022

Downloads:

2,995,615

Downloads of v 7.87.0:

63,396

Maintainer(s):

Software Author(s):

  • Daniel Stenberg
  • cURL Contributors

cURL 7.87.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: '7.87.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  '7.87.0'
end

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


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

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


package { 'curl':
  ensure   => '7.87.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 22 Dec 2022.

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\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

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

$packageArgs = @{
    PackageName    = $env:chocolateyPackageName
    FileFullPath   = "$toolsPath\curl-7.87.0-win32-mingw.zip"
    FileFullPath64 = "$toolsPath\curl-7.87.0-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-7.87.0-win32-mingw.zip
md5: 9AE27FA58EC4C8FEFD5922A23C0FAAB0 | sha1: B6417D89C4999AD61D0053D1D226E0265A1B2E6E | sha256: 53066D308117F0A65DD280664A4870B881940DFDD242E97B0C68F21709BE7D87 | sha512: F99251795794EED262B9CCA923EC322121A18AD9612BF9636CB1268E3EFBA8530C705A6D587FB3584F9676A994BA073AD8DC6810159C5979CBFFF1E442F1EB5A
tools\curl-7.87.0-win64-mingw.zip
md5: AD01FE89987451A8B9806DD9600FE185 | sha1: CEC292C2A7E056F11AF77F0B4BAD4C8AA9A850A2 | sha256: 723DD0D36B318B4D22DDC6B59CCA252D5486CB6B4A12857ED28E4345E02620B0 | sha512: 5CC8819A2439DAF127305FF14776ACBE59F212DCFB3004BAFAC0A1EDC6B8AE164FABDE0803560288534B42DF14BEEBAAE0797DBFD142FCA90BF647F4D6865818
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-7.87.0/curl-7.87.0-win32-mingw.zip
   x64: https://curl.se/windows/dl-7.87.0/curl-7.87.0-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: 53066D308117F0A65DD280664A4870B881940DFDD242E97B0C68F21709BE7D87
   checksum64: 723DD0D36B318B4D22DDC6B59CCA252D5486CB6B4A12857ED28E4345E02620B0

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

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 7.86.0 82428 Wednesday, October 26, 2022 Approved
cURL 7.85.0 92443 Wednesday, August 31, 2022 Approved
cURL 7.84.0 84320 Monday, June 27, 2022 Approved
cURL 7.83.1 60782 Wednesday, May 11, 2022 Approved
cURL 7.83.0 29651 Wednesday, April 27, 2022 Approved
cURL 7.82.0 64987 Saturday, March 5, 2022 Approved
cURL 7.81.0 98508 Wednesday, January 5, 2022 Approved
cURL 7.80.0 69756 Wednesday, November 10, 2021 Approved
cURL 7.79.1 65543 Wednesday, September 22, 2021 Approved
cURL 7.79.0 19687 Wednesday, September 15, 2021 Approved
cURL 7.78.0 57983 Wednesday, July 21, 2021 Approved
cURL 7.77.0 76665 Wednesday, May 26, 2021 Approved
cURL 7.76.1 66090 Wednesday, April 14, 2021 Approved
cURL 7.76.0 33218 Wednesday, March 31, 2021 Approved
cURL 7.75.0.20210225 76367 Thursday, February 25, 2021 Approved
cURL 7.75.0 39571 Saturday, February 13, 2021 Approved
cURL 7.73.0 217856 Thursday, October 15, 2020 Approved
cURL 7.72.0 67671 Wednesday, August 19, 2020 Approved
cURL 7.71.1 45649 Thursday, July 2, 2020 Approved
cURL 7.71.0 13256 Wednesday, June 24, 2020 Approved
cURL 7.70.0 56098 Thursday, April 30, 2020 Approved
cURL 7.69.1 46244 Thursday, March 12, 2020 Approved
cURL 7.69.0 10411 Friday, March 6, 2020 Approved
cURL 7.68.0 57578 Thursday, January 9, 2020 Approved
cURL 7.67.0 67067 Thursday, November 7, 2019 Approved
cURL 7.66.0.20190926 44258 Thursday, September 26, 2019 Approved
cURL 7.66.0 22141 Wednesday, September 11, 2019 Approved
cURL 7.65.3 52743 Saturday, July 20, 2019 Approved
cURL 7.65.2 7134 Thursday, July 18, 2019 Approved
cURL 7.65.1 45105 Wednesday, June 5, 2019 Approved
cURL 7.65.0 17336 Friday, May 24, 2019 Approved
cURL 7.64.1 57941 Thursday, March 28, 2019 Approved
cURL 7.64.0 39537 Thursday, February 7, 2019 Approved
cURL 7.63.0 45992 Thursday, December 13, 2018 Approved
cURL 7.62.0 37840 Wednesday, October 31, 2018 Approved
cURL 7.61.1 57100 Wednesday, September 5, 2018 Approved
cURL 7.61.0 69260 Wednesday, July 11, 2018 Approved
cURL 7.60.0 51524 Thursday, May 17, 2018 Approved
cURL 7.59.0.20180507 13047 Monday, May 7, 2018 Approved
cURL 7.59.0.20180504 5690 Friday, May 4, 2018 Approved
cURL 7.59.0 72257 Sunday, March 18, 2018 Approved
cURL 7.58.0.20180213 45853 Tuesday, February 13, 2018 Approved
cURL 7.58.0 20122 Thursday, January 25, 2018 Approved
cURL 7.57.0 57459 Thursday, November 30, 2017 Approved
cURL 7.56.1 54793 Monday, October 23, 2017 Approved
cURL 7.56.0 25705 Thursday, October 5, 2017 Approved
cURL 7.55.1 74397 Monday, August 14, 2017 Approved
cURL 7.55.0 7848 Thursday, August 10, 2017 Approved
cURL 7.54.1 69379 Thursday, June 15, 2017 Approved
cURL 7.54.0 74122 Monday, April 24, 2017 Approved
cURL (Portable) 7.52.1 41942 Wednesday, February 1, 2017 Approved
cURL 7.28.1 216393 Tuesday, December 4, 2012 Approved
cURL 7.25.0 1796 Wednesday, April 11, 2012 Unknown
cURL 7.24.0.20120225 738 Saturday, February 25, 2012 Unknown
cURL 7.23.1 765 Wednesday, December 14, 2011 Unknown
cURL 7.22.0 784 Friday, October 14, 2011 Unknown
cURL 7.21.7 1185 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