
If you wish to use the packaged support files (systemd services, bash completion and default configuration) with a custom Caddy build, instructions can be found here. Testing releases (includes betas and release candidates): sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl -1sLf '' | sudo gpg -dearmor -o /usr/share/keyrings/caddy-testing-archive-keyring.gpg curl -1sLf '' | sudo tee /etc/apt//caddy-testing.list sudo apt update sudo apt install caddy


Stable releases: sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl -1sLf '' | sudo gpg -dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg curl -1sLf '' | sudo tee /etc/apt//caddy-stable.list sudo apt update sudo apt install caddy Installing this package automatically starts and runs Caddy as a systemd service named caddy, and also comes with a caddy-api service which is not enabled by default, should you need it. View releases on GitHub (expand "Assets").Simply downloading a Caddy binary does not install it as a service, but can be useful in dev or when upgrading an existing installation. If you need third-party plugins, build from source with xcaddy or use our download page. Our official packages come only with the standard modules. This page describes various methods for installing Caddy on your system.
