Automic VaultAutomic Vault

brew

使用 Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 caddy

查看 caddy 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install caddy

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install caddy

MacPorts ports tree · www/caddy/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add caddy

Alpine Linux edge package indexes · caddy · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install caddy

Debian stable package indexes · caddy · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install caddy

Fedora Rawhide package metadata · caddy · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#caddy

nixpkgs package indexes · pkgs/by-name/ca/caddy/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S caddy

Arch Linux sync databases · caddy · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install caddy

openSUSE Tumbleweed package metadata · caddy · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install caddy

Chocolatey community package catalog · caddy · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/caddy

Scoop official bucket manifest trees · bucket/caddy.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id CaddyServer.Caddy -e

Windows Package Manager source index · CaddyServer.Caddy · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Powerful, enterprise-ready, open source web server with automatic HTTPS

命令和别名

  • caddy

历史

项目历史与用法

Caddy is a Go web server and reverse proxy best known for making automatic HTTPS the default behavior. Its modern identity is a self-contained server platform with a JSON-native configuration model, a human-friendly Caddyfile adapter, an admin API, and a module system.

项目历史

Caddy's README says Matthew Holt began the project in 2014 while studying computer science at Brigham Young University. The project name reflects its role as a helper that carries the mundane work of serving the Web and keeps multiple concerns organized in one place.

The project differentiated itself by turning HTTPS from an operational chore into the default path. Caddy's feature list highlights automatic HTTPS with Let's Encrypt and ZeroSSL, managed local CAs for internal names, multi-issuer fallback, HTTP/1.1, HTTP/2, HTTP/3, and a plugin/module architecture. Caddy 2.0 was released as production-ready on May 4, 2020, after a redesign around a modular core, JSON config, API-driven reloads, and config adapters.

采用历史

Caddy moved from developer-friendly web server to widely packaged infrastructure component because it solved TLS automation at the binary level. The official README states it has served trillions of requests and managed millions of TLS certificates, and GitHub shows a large contributor and user community.

Its packaging footprint reflects that adoption: the Homebrew input records Caddy across Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, Nix, MacPorts, Chocolatey, Scoop, winget, and openSUSE.

使用方式

Caddy is commonly used as an HTTPS static file server, reverse proxy, TLS terminator, local development server, and programmable HTTP platform. Users can run it with a Caddyfile, feed JSON through the admin API, adapt other config formats, or build custom binaries with modules using xcaddy.

为什么软件包爱好者会关心

Caddy matters to package nerds because it is a rare web server whose default install changes operational behavior: a plain binary can obtain and renew certificates, manage local trust, expose an API, and replace common nginx-plus-certbot setups with less glue. It also stresses packaging choices around service files, low-port binding, data directories, custom module builds, and reproducible Go binaries.

时间线

  • 2014: Matthew Holt begins developing Caddy.
  • 2015: Caddy becomes known for automatic HTTPS by default.
  • 2020-05-04: Caddy 2.0.0 is released as production-ready.
  • 2020s: Caddy's module architecture, admin API, Caddyfile adapter, and automatic certificate management become its core packaged identity.
  • 2026: GitHub README reports v2.11.x releases and continued active development.

Related projects

  • Caddy is closely related to CertMagic, Let's Encrypt, ZeroSSL, xcaddy, and the Caddy module ecosystem. It is often compared with nginx, Apache httpd, Traefik, HAProxy, and certbot-based TLS automation stacks.

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Linux
/etc/caddy/Caddyfile
Unix
Caddyfile

Credential files

Credential-bearing paths to review before unattended agent runs.

Linux
~/.local/share/caddy
macOS
~/Library/Application Support/Caddy
Unix
$XDG_DATA_HOME/caddy
Windows
%AppData%\Caddy

可执行文件

已安装的可执行文件

命令类型暴露范围备注
caddycli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本2.11.4
管理器更新时间2026-06-03
本地数据OK
上游当前
检测到的最新版本v2.11.4

https://github.com/caddyserver/caddy

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:caddy
版本2.11.4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/caddy
主页https://caddyserver.com/
仓库https://github.com/caddyserver/caddy
上游文档https://caddyserver.com/docs
许可证Apache-2.0
源码归档https://github.com/caddyserver/caddy/archive/refs/tags/v2.11.4.tar.gz
最后更新2026-06-03T09:52:05Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务declared
注意事项When running the provided service, caddy's data dir will be set as `$HOMEBREW_PREFIX/var/lib` instead of the default location found at https://caddyserver.com/docs/conventions#data-directory

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecaddy
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

caddy 2.6.2-12+b3

Fast, lightweight web server with automatic HTTPS

https://github.com/caddyserver/caddy

sudo apt install caddy
  • Section: httpd
  • Architecture: amd64
  • Source Package: caddy
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Caddy
Debian stable package indexes · deb.debian.org · Debian stable package indexes: caddy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

caddy

nix profile install nixpkgs#caddy
  • normalized package name match
  • 匹配方式:Caddy
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/caddy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

caddy 2.6.2-6

Fast, lightweight web server with automatic HTTPS

https://github.com/caddyserver/caddy

sudo apt install caddy
  • Section: universe/httpd
  • Architecture: amd64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Caddy
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: caddy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

caddy 2.11.4-r0

Fast, multi-platform web server with automatic HTTPS

https://caddyserver.com/

sudo apk add caddy
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: caddy
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Caddy
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: caddy from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

caddy-openrc 2.11.4-r0

Fast, multi-platform web server with automatic HTTPS (OpenRC init scripts)

https://caddyserver.com/

sudo apk add caddy-openrc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: caddy
  • normalized package name match
  • 匹配方式:Caddy
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: caddy-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

caddy 2.10.2-5.fc44

Web server with automatic HTTPS

https://caddyserver.com

sudo dnf install caddy
  • License: Apache-2.0 AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND MPL-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: caddy
  • 7 依赖
  • 6 提供
  • normalized package name match
  • 匹配方式:Caddy
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: caddy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

caddy 2.11.3-1

Fast web server with automatic HTTPS

https://github.com/caddyserver/caddy

sudo pacman -S caddy
  • License: Apache-2.0
  • Architecture: x86_64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Caddy
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: caddy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

caddy 2.11.3-1.1

Fast, multi-platform web server with automatic HTTPS

https://caddyserver.com/

sudo zypper install caddy
  • License: Apache-2.0
  • Category: Productivity/Networking/Web/Proxy
  • Architecture: x86_64
  • Source Package: caddy
  • 4 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Caddy
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: caddy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

caddy-bash-completion 2.11.3-1.1

Bash Completion for caddy

https://caddyserver.com/

sudo zypper install caddy-bash-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: caddy
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Caddy
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: caddy-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

caddy-fish-completion 2.11.3-1.1

Fish Completion for caddy

https://caddyserver.com/

sudo zypper install caddy-fish-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: caddy
  • 1 提供
  • normalized package name match
  • 匹配方式:Caddy
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: caddy-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

caddy-zsh-completion 2.11.3-1.1

ZSH Completion for caddy

https://caddyserver.com/

sudo zypper install caddy-zsh-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: caddy
  • 1 提供
  • normalized package name match
  • 匹配方式:Caddy
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: caddy-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

caddy

sudo port install caddy
  • normalized package name match
  • 匹配方式:Caddy
MacPorts ports tree · api.github.com · MacPorts ports tree: www/caddy/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

caddy

choco install caddy
  • normalized package name match
  • 匹配方式:Caddy
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: caddy from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','bluejeansapp'
Scoop95%

main/caddy

scoop install main/caddy
  • normalized package name match
  • 匹配方式:Caddy
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/caddy.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

CaddyServer.Caddy

winget install --id CaddyServer.Caddy -e
  • normalized package name match
  • 匹配方式:Caddy
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: CaddyServer.Caddy from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment