mirror of
https://github.com/go-acme/lego.git
synced 2025-12-23 23:12:22 +02:00
1.7 KiB
1.7 KiB
title, date, weight, draft
| title | date | weight | draft |
|---|---|---|---|
| Installation | 2019-03-03T16:39:46+01:00 | 1 | false |
Binaries
To get the binary just download the latest release for your OS/Arch from the release page and put the binary somewhere convenient. lego does not assume anything about the location you run it from.
From Docker
docker run goacme/lego -h
From package managers
-
ArchLinux (official):
pacman -S lego -
ArchLinux (AUR) (official):
yay -S lego-bin -
Snap (official):
sudo snap install legoNote: The snap can only write to the
/var/snap/lego/common/.legodirectory. -
FreeBSD (Ports) (unofficial):
pkg install lego -
Gentoo (unofficial):
You can enable GURU repository and then:
emerge app-crypt/lego -
Homebrew (unofficial):
brew install legoor
pkg install lego -
OpenBSD (Ports) (unofficial):
pkg_add lego
From sources
Requirements:
- go1.22+.
- environment variable:
GO111MODULE=on
To install the latest version from sources, just run:
go install github.com/go-acme/lego/v4/cmd/lego@latest
or
git clone git@github.com:go-acme/lego.git
cd lego
make # tests + doc + build
make build # only build