This page is about Caddy 2. If you still need v1 docs for a limited time, click here.
Documentation

Download Caddy

All our official distributions come with only the standard modules. If you need third-party plugins, build from source with xcaddy.

Static binaries

You can download Caddy from GitHub, where new releases are immediately published.

Using curl:

curl -OL "https://github.com/caddyserver/caddy/releases/latest/download/ASSET"

Using wget:

wget "https://github.com/caddyserver/caddy/releases/latest/download/ASSET"

Replace ASSET with the filename for your platform.

Docker

docker pull caddy

View on Docker Hub

Debian, Ubuntu, Raspbian

echo "deb [trusted=yes] https://apt.fury.io/caddy/ /" \
    | sudo tee -a /etc/apt/sources.list.d/caddy-fury.list
sudo apt update
sudo apt install caddy

Installing this package automatically starts and runs Caddy for you.

Fedora, RedHat, CentOS

Fedora or RHEL/CentOS 8:

dnf install 'dnf-command(copr)'
dnf copr enable @caddy/caddy
dnf install caddy

RHEL/CentOS 7:

yum install yum-plugin-copr
yum copr enable @caddy/caddy
yum install caddy

View the Caddy COPR

DigitalOcean

Deploy a Caddy droplet on DigitalOcean

macOS

brew install caddy

View the Homebrew formula