diff --git a/src/docs/markdown/download.md b/src/docs/markdown/download.md index 19ea054..d44e602 100644 --- a/src/docs/markdown/download.md +++ b/src/docs/markdown/download.md @@ -10,7 +10,7 @@ All our [official distributions](https://github.com/caddyserver/dist) come with ## Static binaries -You can **[download Caddy from GitHub](https://github.com/caddyserver/caddy/releases)**, where new releases are immediately published. +You can **[download Caddy from GitHub](https://github.com/caddyserver/caddy/releases)**, where new releases are immediately published, and place it in your PATH. Using `curl`: @@ -58,6 +58,21 @@ RHEL/CentOS 7: [**View the Caddy COPR**](https://copr.fedorainfracloud.org/coprs/g/caddy/caddy/) +## Linux & Raspberry Pi + +You can use Webi to automate the processes of downloading the latest release and putting it +in your PATH, without requiring admin permissions. + +
curl -sS https://webinstall.dev/caddy | bash
+ +If you'd like a simple way to launch Caddy as a system service and bind to privilege ports, +see the Webi [Caddy Cheat Sheet](https://webinstall.dev/caddy). + +To allow non-root users to bind to ports 80 and 443, use setcap. + +
sudo setcap cap_net_bind_service=+ep $(readlink $(command -v caddy))
+ + ## DigitalOcean [**Deploy a Caddy droplet on DigitalOcean**](https://marketplace.digitalocean.com/apps/caddy) @@ -65,6 +80,20 @@ RHEL/CentOS 7: ## macOS +**Homebrew** +
brew install caddy
[**View the Homebrew formula**](https://formulae.brew.sh/formula/caddy) + +**Webi** + +
curl -sS https://webinstall.dev/caddy | bash
+ +[**View the Webi installer**](https://github.com/webinstall/webi-installers/tree/master/caddy) + +## Windows 10 + +
curl.exe -A MS https://webinstall.dev/caddy | powershell
+ +You may need to adjust the Windows firewall rules to allow non-localhost incoming connections.