You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference-client/cli-reference/cli.md
+89-52Lines changed: 89 additions & 52 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,20 @@ Some examples:
25
25
26
26
As with the rest of this project, this doc is a work-in-progress. Feel free to browse the [source code](https://github.com/Chia-Network/chia-blockchain/tree/main/chia/cmds) or the [Chia Proof of Space Construction Document](https://www.chia.net/assets/Chia_Proof_of_Space_Construction_v1.1.pdf) for more insight in the meantime.
27
27
28
+
## Related CLI references
29
+
30
+
This page is an overview. Deeper command documentation lives in topic pages, for example:
-[DID](/reference-client/cli-reference/did-cli) and [NFT](/reference-client/cli-reference/nft-cli)
39
+
-[DAO CLI](/reference-client/cli-reference/dao-cli) (historical: the DAO wallet was [removed in Chia 2.5.3](https://github.com/Chia-Network/chia-blockchain/blob/main/CHANGELOG.md#253-chia-blockchain-2025-03-25))
40
+
- HTTP RPC (for `chia rpc …`): [Wallet RPC](/reference-client/rpc-reference/wallet-rpc) and the other service pages under [RPC reference](/reference-client/rpc-reference/rpc)
41
+
28
42
# Locate the `chia` binary executable
29
43
30
44
## Mac
@@ -49,19 +63,19 @@ Then, running the `chia -h` command should work.
49
63
50
64
There is more than one `chia.exe` binary; the GUI is `Chia.exe` (two of these!) and the CLI is `chia.exe`. They are found in different places. Note the big C versus the little c.
51
65
52
-
The CLI one is the one referred to in this document, and for version 2.1.0 installed for the user it can be found at
66
+
The CLI is the one this document refers to. A typical per-user install layout (paths can vary by Chia version and install options) is:
Pass one or more **service group** names. The exact mapping is defined in the reference client as [`SERVICES_FOR_GROUP`](https://github.com/Chia-Network/chia-blockchain/blob/main/chia/util/service_groups.py) in `chia/util/service_groups.py` (if this table and your install disagree, treat the source file and `chia start -h` as canonical).
**Service groups** (internal service names in parentheses where helpful):
107
+
108
+
:::warning
109
+
`chia start all` literally starts every service group, including timelord and timelord launcher. Only use `all` if this machine is intentionally configured to run timelord components.
|`farmer-no-wallet`| Full node, farmer, harvester (no wallet) |
122
+
|`farmer-only`| Farmer service only |
123
+
|`timelord`| Full node, timelord, timelord launcher |
124
+
|`timelord-only`| Timelord only |
125
+
|`timelord-launcher-only`| Timelord launcher only |
126
+
|`wallet`| Wallet only |
127
+
|`introducer`| Introducer |
128
+
|`simulator`| Full node (simulator) |
129
+
|`crawler`| Crawler |
130
+
|`seeder`| Crawler and seeder |
131
+
|`seeder-only`| Seeder only |
109
132
110
133
# plotters
111
134
112
-
In 2.1.0 the option to use different plotters including compressed plotter was introduced. Each plotter has slightly different hardware requirements and may need slightly different options specified.
135
+
The reference client supports several plotters (including third-party and compressed-plot options). Each plotter has slightly different hardware requirements and may need slightly different options specified.
113
136
The cli reference for all plotters can be found in the [Plotters CLI Page](/reference-client/cli-reference/plotter-cli). Learn more about the alternative plotters in the [Alternative Plotters page](/reference-client/plotting/plotting-software).
114
137
115
138
## plotnft
@@ -139,7 +162,7 @@ To create a Plot NFT, use `chia plotnft create -u https://poolnamehere.com`, ent
139
162
To switch pools, you can use `chia plotnft join`, and to leave a pool (switch to self farming), use `chia plotnft leave`.
140
163
The `show` command can be used to check your current points balance. CLI plotting with `create_plots` is the same as before, but the `-p` is replaced with `-c`, and the pool contract address from `chia plotnft show` should be used here.
@@ -289,7 +312,7 @@ Example HD path: m/12381n/8444n/2/
289
312
290
313
- Generate a mnemonic seed and show the farmer pubkeys 10-14 derived from that seed: `chia keys derive --mnemonic-seed-filename <(chia keys generate_and_print | sed -n 2p) child-key -i 10 -n 5 -t farmer`
@@ -403,7 +426,21 @@ chia dev mempool benchmark -n 1000
403
426
404
427
---
405
428
406
-
# Other commands (not all are fully documented)
429
+
## data (DataLayer)
430
+
431
+
The `chia data` command group is the CLI for the Chia DataLayer. For the full subcommand list and examples, see the [DataLayer CLI reference](/reference-client/cli-reference/datalayer-cli).
432
+
433
+
---
434
+
435
+
## solver
436
+
437
+
The `chia solver` command group talks to the standalone Solver service (partial proofs → full proofs for V2 plots / PoS2-era farming). Run `chia solver -h`; current releases provide **`get_state`**. For connecting the farmer to a Solver over HTTP RPC, see [`connect_to_solver`](/reference-client/rpc-reference/farmer-rpc#connect_to_solver) on the Farmer RPC page.
438
+
439
+
---
440
+
441
+
## Other commands (not all are fully documented)
442
+
443
+
The following sample output is aligned with the top-level Click groups registered in [`chia/cmds/chia.py`](https://github.com/Chia-Network/chia-blockchain/blob/main/chia/cmds/chia.py) (`version` and `run_daemon` are registered on the root CLI in the same file). **Your local `chia -h` may list commands in a different order.** The **`beta`** command exists in the client but is **hidden** from help unless your build exposes it.
407
444
408
445
```sh
409
446
$ chia
@@ -418,28 +455,28 @@ Options:
418
455
-h, --help Show this message and exit.
419
456
420
457
Commands:
421
-
completion Generate shell completion
422
-
configure Modify configuration
423
-
daoCreate, manage or show state of DAOs
424
-
data Manage your data
425
-
dbManage the blockchain database
426
-
devDeveloper commands and tools
427
-
farmManage your farm
428
-
initCreate or migrate the configuration
429
-
keys Manage your keys
430
-
netspaceEstimate total farmed space on the network
431
-
passphrase Manage your keyring passphrase
432
-
peer Show, or modify peering connections
433
-
plotnft Manage your plot NFTs
434
-
plots Manage your plots
435
-
plottersAdvanced plotting options
436
-
rpc RPC Client
437
-
run_daemon Runs chia daemon
438
-
showShow node information
439
-
start Start service groups
440
-
stop Stop services
441
-
version Show chia version
442
-
wallet Manage your wallet
458
+
completion Generate shell completion
459
+
configure Modify configuration
460
+
data Manage your data (DataLayer)
461
+
dbManage the blockchain database
462
+
dev Developer commands and tools
463
+
farm Manage your farm
464
+
init Create or migrate the configuration
465
+
keys Manage your keys
466
+
netspaceEstimate total farmed space on the network
0 commit comments