---
title: Install go-acme/lego on Linux | Snap Store
description: Get the latest version of go-acme/lego for Linux - A Let's Encrypt client.
url: https://snapcraft.io/lego
---

# go-acme/lego (lego)

[El Dez (ldez)](https://snapcraft.io/publisher/ldez "View all snaps from El Dez (ldez)")

* [El Dez (ldez)](https://snapcraft.io/publisher/ldez "View all snaps from El Dez (ldez)")
* [Security](https://snapcraft.io/search?categories=security)
* [Utilities](https://snapcraft.io/search?categories=utilities)

latest/stable 5.5.2

Install latest/stable of go-acme/lego

---

**Install using the command line**

```
sudo snap install lego
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* lego

---

### License

* Apache-2.0

---

### Last updated

* 23 September 2026 - latest/stable
* 23 September 2026 - latest/edge

---

### Websites

* [go-acme.github.io](https://go-acme.github.io/lego/ "https://go-acme.github.io/lego/")

---

### Contact

* [goacme.bsky.social](https://goacme.bsky.social "https://goacme.bsky.social")

---

### Donations

* [github.com/sponsors/ldez](https://github.com/sponsors/ldez "https://github.com/sponsors/ldez")

---

### Source code

* [github.com/go-acme/lego](https://github.com/go-acme/lego "https://github.com/go-acme/lego")

---

### Report a bug

* [github.com/go-acme/lego/issues](https://github.com/go-acme/lego/issues "https://github.com/go-acme/lego/issues")

---

##### Report a Snap Store violation

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

---

* [Description](https://snapcraft.io/lego#tab-description)
* [Security](https://snapcraft.io/lego#tab-security)

#### A Let's Encrypt client.

Lego is a Let's Encrypt client and ACME library written in Go.

The lego snap makes it easy to install and use lego on any Linux distribution that supports snaps.

Usage:

`sudo snap install lego`

`sudo snap connect lego:dot-lego`

`sudo lego --email="you@example.com" --domains="example.com" --server=https://acme-staging-v02.api.letsencrypt.org/directory --http --http.port :8080 run`

---

## Install go-acme/lego on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/lego/arch)

[### CentOS](https://snapcraft.io/install/lego/centos)

[### Debian](https://snapcraft.io/install/lego/debian)

[### elementary OS](https://snapcraft.io/install/lego/elementary)

[### Fedora](https://snapcraft.io/install/lego/fedora)

[### KDE Neon](https://snapcraft.io/install/lego/kde-neon)

[### Kubuntu](https://snapcraft.io/install/lego/kubuntu)

[### Manjaro](https://snapcraft.io/install/lego/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/lego/pop)

[### openSUSE](https://snapcraft.io/install/lego/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/lego/rhel)

[### Ubuntu](https://snapcraft.io/install/lego/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/lego/raspbian)
