Skip to content

Commit

Permalink
docs: πŸ“ replace rust build cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
heldrida committed Dec 12, 2023
1 parent b1f7c13 commit c959c21
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion references/Lightning CLI/update-cli-from-source-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,23 @@ We are using the branch named `testnet-alpha-1`, which is specific to the early
To build the binary from the source code, we execute the cargo build command:

```sh
cargo +stable build --release
cargo +stable install --locked --path core/cli
```

:::tip
The command uses the stable rust toolchain, if the command fails you have to install it, run the following commands:

```sh
rustup toolchain install stable
```

Optionally, set stable as default toolchain as follows:

```sh
rustup default stable
```
:::

## Update the symlink

Start by removing the existing one:
Expand Down

0 comments on commit c959c21

Please sign in to comment.