1
0
mirror of https://github.com/go-acme/lego.git synced 2024-12-12 05:24:31 +02:00
lego/docs/content/installation/_index.md
2021-02-17 09:02:44 +01:00

1.1 KiB

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

yay -S lego

Note: only the package manager for Arch Linux is officially supported by the lego team.

cd /usr/ports/security/lego && make install clean

or

pkg install lego

From sources

Requirements:

  • go v1.15+
  • environment variable: GO111MODULE=on

To install the latest development version from sources, just run:

go get -u github.com/go-acme/lego/v4/cmd/lego

or

git clone git@github.com:go-acme/lego.git
make        # tests + doc + build
make build  # only build