# curl

> command line tool and library for transferring data with URLs

Source: https://talira.ai/catalog/curl-g1ayrmxb
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Library
- Categories: [developer tools / http / clients](https://talira.ai/categories/developer-tools/http/clients), [libraries / http clients](https://talira.ai/categories/libraries/http-clients)
- Platforms: linux, macos, windows, docker, cli[^1][^10]
- Licence: curl[^5][^7]
- Pricing: Free and open source[^5][^6]
- Pricing notes: Free under the curl licence; commercial support is offered, and the project takes donations on Open Collective.
- Free tier: yes[^5][^6]
- Self-hostable: yes[^8]
- API: yes[^9]
- Backed by: [curl project](https://talira.ai/orgs/curl-project.md)
- Creator: Daniel Stenberg (project leader and main developer)
- Sponsors: Haxx, wolfSSL, Fastly, GitHub, TeamViewer

curl is one project with two products: libcurl, a portable client-side URL transfer library in C, and the `curl` command-line tool built on it, so both speak the same protocols. Those are HTTP/1.1, HTTP/2 and HTTP/3, WebSocket, FTP and FTPS, SCP and SFTP, SMTP, IMAP and POP3, LDAP, MQTT, TFTP, TELNET, DICT, Gopher, RTSP and FILE, with cookies, proxies (HTTP, HTTPS, SOCKS), Basic, Digest and Negotiate authentication, resumed transfers, HSTS, alt-svc, DNS-over-HTTPS and Encrypted Client Hello. libcurl's TLS backend is chosen at build time: [OpenSSL](https://talira.ai/catalog/openssl-fxkppzee.md) and its forks, GnuTLS, wolfSSL, mbedTLS, Schannel or (experimental in curl) [Rustls](https://talira.ai/catalog/rustls-sy9swper.md). The project claims more than twenty billion installations, in cars, TVs, routers, phones and medical devices, and lists dozens of language bindings that other people maintain. It dates from 1998, is led by Daniel Stenberg and is released under the curl licence, an MIT/X-style licence.

## Links

- Website: https://curl.se/
- GitHub: https://github.com/curl/curl
- Docs: https://curl.se/docs/

## Ways to install

### Package managers

- [WinGet](https://talira.ai/catalog/winget-g927bz13.md): <https://github.com/microsoft/winget-pkgs/tree/master/manifests/c/cURL/cURL>[^1]
- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/curl>[^2]
- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/curl>[^3]

## Problems it solves

- download a file from a URL in a shell script and fail the script if the server returns an error
- test a REST API from the terminal with custom headers, a JSON body and a bearer token
- see the exact request and response headers and TLS handshake when debugging a web server
- resume a large download that broke halfway instead of starting over
- upload files to an FTP or SFTP server from a cron job
- send an email through an SMTP server from a script without a mail client
- fetch messages from an IMAP mailbox from the command line
- my C or C++ application needs to make HTTPS requests on embedded Linux with a small, portable library
- add HTTP/2 and HTTP/3 support to a native app without writing a protocol stack
- check whether a site is served over HTTP/3 and how long DNS, connect and TLS each take
- post a multipart form with a file attachment from the command line
- send requests through a SOCKS5 or HTTPS proxy, with proxy authentication
- keep cookies between requests in a script that logs into a website
- test my API with a client certificate for mutual TLS
- run many downloads in parallel from one command
- resolve a hostname to a specific IP for one request to test a server before switching DNS
- make requests to a local service over a Unix domain socket
- limit download speed and set a maximum transfer time for a scripted fetch
- publish or subscribe to an MQTT topic from a shell script
- a widely deployed, well audited transfer library with a stable ABI for long-lived products
- use DNS-over-HTTPS for name lookups in a single request
- get a ready-made Windows binary of a command line HTTP client

## Features

- libcurl C library and the curl command-line tool, built on it
- HTTP/0.9 (optional), HTTP/1.0, HTTP/1.1, HTTP/2 with multiplexing and HTTP/3
- WebSocket (ws, wss)
- FTP, FTPS, SCP, SFTP, TFTP, FILE uploads and downloads with resume
- SMTP, SMTPS, POP3, POP3S, IMAP, IMAPS with SASL authentication
- LDAP, LDAPS, MQTT, RTSP, TELNET, DICT, Gopher and Gopher over TLS
- Basic, Digest and Negotiate (SPNEGO) authentication for servers and proxies
- HTTP, HTTPS and SOCKS 4/5 proxies, pre-proxies and CONNECT tunnelling
- cookie engine reading and writing Netscape cookie files
- HSTS, alt-svc and ETag support
- deflate, gzip, Brotli and zstd content decoding
- TLS backends chosen at build time: OpenSSL, BoringSSL, AWS-LC, LibreSSL, QuicTLS, GnuTLS, wolfSSL, mbedTLS, Schannel, Rustls (experimental)
- client certificates, key pinning, Encrypted Client Hello (ECH)
- DNS-over-HTTPS, Happy Eyeballs, IPv6, Unix domain sockets
- parallel transfers, URL globbing, config files and .netrc
- rate limiting, transfer time limits and minimum speed limits
- URL API and header API in libcurl
- stable API and ABI; runs on 101 operating systems and 28 CPU architectures
- official Windows builds and Docker images (curlimages/curl)

## Limitations

- Doesn't download websites recursively or mirror them: curl is made for single-shot transfers[^4]
- Doesn't run JavaScript: pages, redirects and .pac proxy files that need it aren't handled[^4]

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known

## Trust

Overall: 0.52 out of 1.
Signals: backing 0.65, extensibility 0.40.

- backed by curl project
- created by Daniel Stenberg (project leader and main developer)
- sponsored by Haxx, wolfSSL, Fastly, GitHub

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [HTTPie CLI](https://talira.ai/catalog/httpie-cli-ydpd5s6m.md): Modern, user-friendly command-line HTTP client for the API era
- [xh](https://talira.ai/catalog/xh-yn0x51pa.md): Friendly and fast tool for sending HTTP requests
- [GNU Wget](https://talira.ai/catalog/gnu-wget-w774meak.md): A free software package for retrieving files using HTTP, HTTPS and FTP
- [aria2](https://talira.ai/catalog/aria2-2mssab3p.md): Lightweight multi-protocol & multi-source command-line download utility

## Sources

[^1]: https://curl.se/download.html (checked 20 Nov 2026)
[^2]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^3]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 21 Nov 2026)
[^4]: https://curl.se/docs/faq.html (checked 20 Nov 2026)
[^5]: https://curl.se/docs/copyright.html (checked 20 Nov 2026)
[^6]: https://curl.se/sponsors.html (checked 20 Nov 2026)
[^7]: https://github.com/curl/curl/blob/master/COPYING (checked 20 Nov 2026)
[^8]: https://curl.se/ (checked 20 Nov 2026)
[^9]: https://curl.se/libcurl/ (checked 20 Nov 2026)
[^10]: https://curl.se/docs/features.html (checked 20 Nov 2026)
