caddy

Install command:
brew install caddy

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

https://caddyserver.com/

License: Apache-2.0

Development: Pull requests

Formula JSON API: /api/formula/caddy.json

Formula code: caddy.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 2.11.9
head ⚡️ HEAD

Depends on when building from source:

go 1.27.3 Open source programming language to build simple/reliable/efficient software

Binaries: caddy

Service:

Start now and at login: brew services start caddy
Run directly: $HOMEBREW_PREFIX/opt/caddy/bin/caddy run --config $HOMEBREW_PREFIX/etc/Caddyfile
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

GitHub Packages downloads:

Last 30 days76,661
Downloads890,675
Analytics install events (30 days)9,739
Downloads / install events (30 days)7.9×

Source: GitHub Packages, fetched 2026-11-09T00:51:55Z. Analytics dates: 2026-10-10 to 2026-11-09. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs9,72920,86580,643
Installs (--HEAD)102598
Installs on Request9,72020,84980,606
Installs on Request (--HEAD)102598
Build Errors38