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:

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

Using wget:

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

Replace ASSET with the filename for your platform.

Docker

  1. docker pull caddy

View on Docker Hub

Debian, Ubuntu, Raspbian

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

Installing this package automatically starts and runs Caddy for you.

Fedora, RedHat, CentOS

Fedora or RHEL/CentOS 8:

  1. dnf install 'dnf-command(copr)'
  2. dnf copr enable @caddy/caddy
  3. dnf install caddy

RHEL/CentOS 7:

  1. yum install yum-plugin-copr
  2. yum copr enable @caddy/caddy
  3. yum install caddy

View the Caddy COPR

DigitalOcean

Deploy a Caddy droplet on DigitalOcean

macOS

  1. brew install caddy

View the Homebrew formula