---
title: Install caddy on elementary OS using the Snap Store | Snapcraft
description: Get the latest version of caddy for on elementary OS - Fast, multi-platform
  web server with automatic HTTPS
url: https://snapcraft.io/install/caddy/elementary
---

[Canonical Snapcraft](https://snapcraft.io/)

# Install caddy on **elementary OS**

# caddy

[Yuzukosho (aoilinux)](https://snapcraft.io/publisher/aoilinux "View all snaps from Yuzukosho (aoilinux)")

* [Yuzukosho (aoilinux)](https://snapcraft.io/publisher/aoilinux "View all snaps from Yuzukosho (aoilinux)")
* [Server and Cloud](https://snapcraft.io/search?categories=server-and-cloud)

[Install](https://snapcraft.io/install/caddy/elementary#install)

#### Fast, multi-platform web server with automatic HTTPS

## Unofficial snap ##

Caddy is a powerful, extensible platform to serve your sites, services, and
apps, written in Go.

Most people use Caddy as a web server or proxy, but at its core, Caddy is a
server of servers. With the requisite modules, it can take on the role of any
long-running process!

Configuration is both dynamic and exportable with Caddy's API. Although no
config file is required, you can still use them; most people's favorite way of
configuring Caddy is using the Caddyfile. The format of the config document
takes many forms with config adapters, but Caddy's native config language is
JSON.

---

This particular snap has a few key features:

1. Intended for use on Ubuntu Core
   caddy is setup as a daemon so that Ubuntu Core machines can use it!
   This means that the configuration is intended to be passed in a fashion
   useful for Ubuntu Core devices, snap config values. Instead of creating a
   Caddyfile, set the JSON corresponding to your desired configuration as a
   config value via:

snap set caddy config='{...}'

caddy-wrapper will consume this configuration value and pass that to caddy.

2. Useful with other snaps
   Instead of serving the content from the caddy snap itself (also supported),
   instead other snaps can provide the content caddy serves. As long as the
   implement the caddy-content slot which properly exposes the file hierarchy,
   caddy can access that file tree and serve the content! To do so, run:

snap connect caddy:caddy-content <snap>:caddy-content

Provider snaps should expose the content as READ to "<foo>", and that
content should be available to caddy at "$SNAP/var/www/<foo>"

3. Extensible
   A check is involved just in-case end-users run caddy add-package. As this
   behaviour modifies the caddy binary itself and snaps are read-only, the caddy
   binary is instead copied to the writable area and that modified caddy binary
   is the one being used to add and remove modules. Whether the modified caddy
   binary is the one being used or not can be checked (or set) with:

snap get caddy modified

Modules can be specified by the gadget snap which caddy will fetch on first
installation via the default-configure hook.

Importantly, configuration is handled via snap config values. Because Caddy's
API uses JSON for configuration, this is a natural choice. For an example of a
simple test, refer to the project README on the website.

Of course, for users opting to use the CLI directly any method for supplying a
configuration can be used.

### Package name

* caddy

---

### License

* Apache-2.0 AND CC-BY-NC-SA-4.0

---

### Last updated

* 6 June 2026 - latest/stable
* 19 April 2025 - latest/edge

---

### Websites

* [github.com/boukendesho/caddy-snap/tree/main](https://github.com/boukendesho/caddy-snap/tree/main "https://github.com/boukendesho/caddy-snap/tree/main")

---

### Report a bug

* [github.com/boukendesho/caddy-snap/issues](https://github.com/boukendesho/caddy-snap/issues "https://github.com/boukendesho/caddy-snap/issues")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/install/caddy/elementary#report-snap-modal)

---

## Enable snaps on elementary OS and install caddy

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the [Snap Store](https://snapcraft.io/store), an app store with an audience of millions.

### Enable snapd

Snap can be installed on elementary OS from the command line. Open *Terminal* from the Applications launcher and type the following:

```
sudo apt update
sudo apt install snapd
```

Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.

### Install caddy

To install caddy, simply use the following command:

```
sudo snap install caddy
```

### Other popular snaps…

[See more...](https://snapcraft.io/search?categories=featured)

[See more in Featured](https://snapcraft.io/search?categories=featured)

### More things to do…

#### [Get the snap store](https://snapcraft.io/snap-store)

Browse and find snaps from the convenience of your desktop using the snap store snap.

#### [Learn more about snaps](https://snapcraft.io/docs)

Interested to find out more about snaps? Want to publish your own application? Visit [snapcraft.io](https://snapcraft.io/) now.

[Back to top](https://snapcraft.io/install/caddy/elementary)

© 2026 Canonical Ltd.
Ubuntu and Canonical are registered trademarks of Canonical Ltd.

Powered by [Charmed Kubernetes](https://www.ubuntu.com/kubernetes)

[Join the forum](https://forum.snapcraft.io/), contribute to or report problems with,
[snapd](https://bugs.launchpad.net/snapd),
[Snapcraft](https://bugs.launchpad.net/snapcraft),
or [this site](https://github.com/canonical/snapcraft.io/issues/new).

* [Share on Twitter](https://twitter.com/snapcraftio)
* [Share on Facebook](https://www.facebook.com/snapcraftio)
* [Share on YouTube](https://www.youtube.com/snapcraftio)

* [Terms of Service](https://ubuntu.com/legal/terms-and-policies/snap-store-terms)
* [Data privacy](https://www.ubuntu.com/legal/data-privacy)
* [Manage your tracker settings](https://snapcraft.io/install/caddy/elementary)
* [Service status](https://status.snapcraft.io/)
* [Other functions](https://dashboard.snapcraft.io/)
* [Contact us](https://snapcraft.io/about/contact-us)
