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
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
DigitalOcean
Deploy a Caddy droplet on DigitalOcean
macOS
brew install caddy