From 1460f49b3e158ec74bf7ec5388667c830581f4fc Mon Sep 17 00:00:00 2001 From: Gokcehan Date: Thu, 24 Sep 2020 23:38:09 +0300 Subject: [PATCH] update readme --- README.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 60c7bba7..763e29c7 100644 --- a/README.md +++ b/README.md @@ -41,13 +41,25 @@ See [faq](https://github.com/gokcehan/lf/wiki/FAQ) for more information and [tut ## Installation +See [packages](https://github.com/gokcehan/lf/wiki/Packages) for community maintained packages. + See [releases](https://github.com/gokcehan/lf/releases) for pre-built binaries. -If you like to build from the source: +If you like to build from the source on unix: - go get -u github.com/gokcehan/lf + env CGO_ENABLED=0 GO111MODULE=on go get -u -ldflags="-s -w" github.com/gokcehan/lf -See [packages](https://github.com/gokcehan/lf/wiki/Packages) for community maintained packages. +On windows `cmd`: + + set CGO_ENABLED=0 + set GO111MODULE=on + go get -u -ldflags="-s -w" github.com/gokcehan/lf + +On windows `powershell`: + + $env:CGO_ENABLED = '0' + $env:GO111MODULE = 'on' + go get -u -ldflags="-s -w" github.com/gokcehan/lf ## Usage