|
|
@ -12,11 +12,21 @@
|
|
|
|
## Install
|
|
|
|
## Install
|
|
|
|
|
|
|
|
|
|
|
|
Require the [go programming language](https://golang.org/) (version >= 1.13)
|
|
|
|
Require the [go programming language](https://golang.org/) (version >= 1.13)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
**Raspberry Pi users: be aware that Raspbian ships with Go 1.11** ( see
|
|
|
|
|
|
|
|
[#30](https://github.com/edouardparis/lntop/issues/30) )
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
git clone https://github.com/edouardparis/lntop.git
|
|
|
|
git clone https://github.com/edouardparis/lntop.git
|
|
|
|
cd lntop && go install ./...
|
|
|
|
cd lntop && go install ./...
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
With Go version >= 1.16, you can use [`go-install`](https://golang.org/ref/mod#go-install)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
go install github.com/edouardparis/lntop@latest
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Config
|
|
|
|
## Config
|
|
|
|
|
|
|
|
|
|
|
|
First time `lntop` is used a config file `.lntop/config.toml` is created
|
|
|
|
First time `lntop` is used a config file `.lntop/config.toml` is created
|
|
|
|