File tree 1 file changed +17
-3
lines changed
1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 104
104
With the preliminary steps completed, to install `lnd`, `lncli`, and all
105
105
related dependencies run the following commands:
106
106
```
107
- go get -d github.com/lightningnetwork/lnd
108
- cd $GOPATH/src/github.com/lightningnetwork/lnd
109
- make && make install
107
+ git clone https://github.com/lightningnetwork/lnd
108
+ cd lnd
109
+ make install
110
+ ```
111
+
112
+ The command above will install the current _master_ branch of `lnd`. If you
113
+ wish to install a tagged release of `lnd` (as the master branch can at times be
114
+ unstable), then [visit then release page to locate the latest
115
+ release](https://github.com/lightningnetwork/lnd/releases). Assuming the name
116
+ of the release is `v0.x.x`, then you can compile this release from source with
117
+ a small modification to the above command:
110
118
```
119
+ git clone https://github.com/lightningnetwork/lnd
120
+ cd lnd
121
+ git checkout v0.x.x
122
+ make install
123
+ ```
124
+
111
125
112
126
**NOTE**: Our instructions still use the `$GOPATH` directory from prior
113
127
versions of Go, but with Go 1.12, it's now possible for `lnd` to live
You can’t perform that action at this time.
0 commit comments