Skip to content

Commit 7799126

Browse files
RandyMcMillanthunderbiscuit
authored andcommitted
docs: allow for individual copy/paste on cli page
1 parent 04161ae commit 7799126

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

docs/bdk-cli/installation.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,29 @@ At the time of writing, the project requires cargo >= 1.56.0, which is our minim
2525
Once Cargo is installed, you can proceed to install the interactive `bdk-cli` tool directly from
2626
the GitHub repository, by running:
2727

28-
```bash
29-
# all features with the blocking esplora client
28+
All features with the blocking esplora client
29+
30+
```sh
3031
cargo install --git https://github.com/bitcoindevkit/bdk-cli --features=esplora-ureq,compiler
32+
```
33+
34+
All features with the async esplora client
3135

32-
# all features with the async esplora client
36+
```sh
3337
cargo install --git https://github.com/bitcoindevkit/bdk-cli --features=esplora-reqwest,compiler
38+
```
39+
40+
Minimal install (only repl feature is on by default)
3441

35-
# minimal install (only repl feature is on by default)
42+
```sh
3643
cargo install --git https://github.com/bitcoindevkit/bdk-cli
3744
```
3845

3946
For Windows users, the default SQLite database requires extensive configuration and `bdk-cli` will not build properly if SQLite is unconfigured. To proceed with the installation using `sled` instead, run:
4047

41-
```bash
42-
# disable sqlite and use sled
48+
Disable sqlite and use sled
49+
50+
```sh
4351
cargo install bdk-cli --no-default-features --features=key-value-db,esplora-ureq,compiler
4452
```
4553

@@ -86,6 +94,6 @@ SUBCOMMANDS:
8694

8795
An example command to sync a testnet wallet to a default electrum server looks like this:
8896

89-
```bash
97+
```sh
9098
bdk-cli wallet -w example --descriptor "wpkh(tprv8ZgxMBicQKsPexGYyaFwnAsCXCjmz2FaTm6LtesyyihjbQE3gRMfXqQBXKM43DvC1UgRVv1qom1qFxNMSqVAs88qx9PhgFnfGVUdiiDf6j4/0/*)" sync
9199
```

0 commit comments

Comments
 (0)