From 891c8f95f9b164cd6a14a143b461302d234ddf29 Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Mon, 22 Feb 2021 15:14:46 -0500 Subject: [PATCH] docs: Add cloudsmith repo to install instructions (#49) * docs: Add cloudsmith repo to install instructions * Update README.md * docs: Remove -a from tee --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index eb660e7..a550600 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,23 @@ Stay updated, be aware of changes, and please submit feedback! Thanks! ## Install -You can [download binaries](https://github.com/caddyserver/xcaddy/releases) that are already compiled for your platform, or build `xcaddy` from source: +You can [download binaries](https://github.com/caddyserver/xcaddy/releases) that are already compiled for your platform from the Release tab. + +You may also build `xcaddy` from source: ```bash $ go get -u github.com/caddyserver/xcaddy/cmd/xcaddy ``` +For Debian, Ubuntu and Raspbian, an `xcaddy` package is available from our [Cloudsmith repo](https://cloudsmith.io/~caddy/repos/xcaddy/packages/): + +```bash +sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https +curl -1sLf 'https://dl.cloudsmith.io/public/caddy/xcaddy/gpg.key' | sudo apt-key add - +curl -1sLf 'https://dl.cloudsmith.io/public/caddy/xcaddy/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-xcaddy.list +sudo apt update +sudo apt install xcaddy +``` ## Command usage