凭据访问
Reads netrc files, headers, cookies, tokens, and files used as request bodies.
代理安全
curl can fetch remote scripts, call APIs, and exfiltrate data from files an agent can read.
Reads netrc files, headers, cookies, tokens, and files used as request bodies.
Can call arbitrary HTTP APIs that mutate remote systems.
Can upload artifacts or run installer pipelines when paired with a shell.
Gate credentialed requests, file uploads, and pipe-to-shell installer patterns.
Allow simple public fetches; require approval for authenticated requests, uploads, and shell execution.
安装
brew install curllocal Homebrew formula metadata
sudo apk add curlAlpine Linux edge package indexes · curl · 来源: dl-cdn.alpinelinux.org
sudo dnf install curlFedora Rawhide package metadata · curl · 来源: dl.fedoraproject.org
nix profile install nixpkgs#curlnixpkgs package indexes · curl · 来源: raw.githubusercontent.com
sudo pacman -S curlArch Linux sync databases · curl · 来源: geo.mirror.pkgbuild.com
sudo zypper install curlopenSUSE Tumbleweed package metadata · curl · 来源: download.opensuse.org
choco install curlChocolatey community package catalog · curl · 来源: community.chocolatey.org
scoop install main/curlScoop official bucket manifest trees · bucket/curl.json · 来源: api.github.com
winget install --id cURL.cURL -eWindows Package Manager source index · cURL.cURL · 来源: cdn.winget.microsoft.com
概览
Get a file from an HTTP, HTTPS or FTP server
历史
curl is a command-line transfer tool and libcurl is its underlying URL transfer library. Together they became one of the default pieces of Internet plumbing in Unix-like systems, Windows, language runtimes, build systems, containers, and scripts.
curl traces back to late 1996, when Daniel Stenberg extended Rafael Sagula's HttpGet utility while building an IRC bot feature for currency exchange lookups. The project moved from HttpGet to urlget as protocols beyond HTTP were added, then became curl in March 1998 after upload support made the older name misleading.
The project history records early Linux RPM packaging in 1998, the first Debian package in 1999, a non-beta libcurl interface in 2000, PHP adopting libcurl the same year, and Mac OS X bundling curl in 2001. By 2018, curl's history page described it as shipped in Windows 10 and estimated curl and libcurl at five billion installed instances; by 2020 that estimate reached ten billion instances.
curl is used interactively and in scripts to transfer data over URL-addressed protocols, especially HTTP(S), FTP(S), SMTP, IMAP, SFTP, WebSocket, and related network protocols. libcurl is embedded by applications that need the same transfer features through a stable C API.
curl matters to package managers because it is often both a package and a bootstrap tool: build scripts fetch with it, test suites depend on it, and other packages link against libcurl. Packaging has to track TLS backends, protocol feature flags, CA certificate behavior, ABI stability, and the split between the curl executable, libcurl, headers, and curl-config.
安全态势
doc example: network transfer tool.
blue 风险 · 高 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.curlrcCredential-bearing paths to review before unattended agent runs.
~/.netrc~/.curlrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
curl | cli | 全局可执行文件 | |
curl-config | cli | 全局可执行文件 | |
wcurl | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:curl |
|---|---|
| 版本 | 8.21.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/curl |
| 主页 | https://curl.se |
| 仓库 | https://github.com/curl/curl |
| 上游文档 | https://curl.se/docs |
| 许可证 | curl |
| 源码归档 | https://curl.se/download/curl-8.21.0.tar.bz2 |
| 最后更新 | 2026-06-27T15:50:29Z |
| Pulse | updated |
| 依赖 | brotli, libnghttp2, libnghttp3, libngtcp2, libpsl, libssh2, openssl@3, zstd |
| 构建依赖 | pkgconf |
| macOS 提供的库 | krb5, openldap |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | curl |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
curl 8.14.1-2+deb13u3
command line tool for transferring data with URL syntax
sudo apt install curllibcurl3t64-gnutls 8.14.1-2+deb13u3
easy-to-use client-side URL transfer library (GnuTLS flavour)
sudo apt install libcurl3t64-gnutlslibcurl4-doc 8.14.1-2+deb13u3
documentation for libcurl
sudo apt install libcurl4-doclibcurl4-gnutls-dev 8.14.1-2+deb13u3
development files and documentation for libcurl (GnuTLS flavour)
sudo apt install libcurl4-gnutls-devlibcurl4-openssl-dev 8.14.1-2+deb13u3
development files and documentation for libcurl (OpenSSL flavour)
sudo apt install libcurl4-openssl-devlibcurl4t64 8.14.1-2+deb13u3
easy-to-use client-side URL transfer library (OpenSSL flavour)
sudo apt install libcurl4t64curl
nix profile install nixpkgs#curlcurl 8.5.0-2ubuntu10
command line tool for transferring data with URL syntax
sudo apt install curllibcurl3t64-gnutls 8.5.0-2ubuntu10
easy-to-use client-side URL transfer library (GnuTLS flavour)
sudo apt install libcurl3t64-gnutlslibcurl4-doc 8.5.0-2ubuntu10
documentation for libcurl
sudo apt install libcurl4-doclibcurl4-gnutls-dev 8.5.0-2ubuntu10
development files and documentation for libcurl (GnuTLS flavour)
sudo apt install libcurl4-gnutls-devlibcurl4-openssl-dev 8.5.0-2ubuntu10
development files and documentation for libcurl (OpenSSL flavour)
sudo apt install libcurl4-openssl-devlibcurl4t64 8.5.0-2ubuntu10
easy-to-use client-side URL transfer library (OpenSSL flavour)
sudo apt install libcurl4t64curl 8.20.0-r1
URL retrieval utility and library
sudo apk add curlcurl-dbg 8.20.0-r1
URL retrieval utility and library (debug symbols)
sudo apk add curl-dbgcurl-dev 8.20.0-r1
URL retrieval utility and library (development files)
sudo apk add curl-dev来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.