You can install litd on your Linux, MacOS or Windows machine, either in integrated or remote mode.
You can install
litdfrom source or via the provided binary. If you are running LND as part of a software bundle like Umbrel,
litdmight already be installed on your node.
Once you have downloaded the binary for your operating system, verify them and unpack them, either with your file manager or the command line. This may look like this:
tar -xvf lightning-terminal-<latest release>-alpha.tar.gz
Or on Windows:
tar -xvzf C:\path\lightning-temrinal<latest-release>-alpha.tar.gz -C C:\path\litd
You can now execute the program from its location, or place it where the system can conveniently find it, such as
make install tags="autopilotrpc chainrpc invoicesrpc routerrpc signrpc walletrpc watchtowerrpc wtclientrpc"
- 1.First we will download the source code from Github
git clone https://github.com/lightninglabs/lightning-terminal.git
git checkout <latest release>
2. Now we will install it:
The binaries should be found in your Go path, most commonly
~/go/bin/You can navigate and check your Go path with
litdas above will install the litcli command line interface, but not pool, loop and frcli, as these might already exist on your sytem. If they do not exist and you wish to install them, you may run the below in addition:
- 1.Set a password for your litd instance:
export LIT_PASSWD="YOUR PASSWORD HERE"
2. Add the fragment to your configuration and run the installation script:
BTCPAYGEN_ADDITIONAL_FRAGMENTS="$BTCPAYGEN_ADDITIONAL_FRAGMENTS;opt-add-lightning-terminal" . btcpay-setup.sh -i
You can now find
litdunder Server Settings > Services
litd, you will need to specify a password of your own, ideally using a password manager: