docs: update install from sources (#1688)

This commit is contained in:
Ludovic Fernandez 2022-08-04 00:15:33 +02:00 committed by GitHub
parent c270c239b5
commit 978eeed867
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,19 +40,20 @@ docker run goacme/lego -h
Requirements:
- `go` v1.15+
- go1.17+
- environment variable: `GO111MODULE=on`
To install the latest development version from sources, just run:
To install the latest version from sources, just run:
```bash
go get -u github.com/go-acme/lego/v4/cmd/lego
go install github.com/go-acme/lego/v4/cmd/lego@latest
```
or
```bash
git clone git@github.com:go-acme/lego.git
cd lego
make # tests + doc + build
make build # only build
```