diff --git a/references/Lightning CLI/update-cli-from-source-code.md b/references/Lightning CLI/update-cli-from-source-code.md index ed471d1a3..567094d9c 100644 --- a/references/Lightning CLI/update-cli-from-source-code.md +++ b/references/Lightning CLI/update-cli-from-source-code.md @@ -163,6 +163,20 @@ Depending on how you control the system, this might need **sudo**. sudo rm -rf ~/.lightning/data ``` +## Update the `config.toml` + +Remove the `~/.lightning/config.toml`. + +```sh +rm ~/.lightning/config.toml +``` + +Create a new `config.toml` + +```sh +lgtn print-config --default > ~/.lightning/config.toml +``` + ## Update the `config.toml` with user home path