From 978eeed867a375bdbe946c7f53e12d571b628536 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Thu, 4 Aug 2022 00:15:33 +0200 Subject: [PATCH] docs: update install from sources (#1688) --- docs/content/installation/_index.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/content/installation/_index.md b/docs/content/installation/_index.md index a1b440c623..661d415e1f 100644 --- a/docs/content/installation/_index.md +++ b/docs/content/installation/_index.md @@ -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 ```