Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
c3d8319
docs(cli): add top-level command index to CLI overview
BrandtH22 May 6, 2026
5ae8981
Merge branch 'main' into docs/cli-overview-top-level-index
BrandtH22 May 7, 2026
df85b4d
docs(cli): add full-node, farmer, harvester, and solver CLI reference…
BrandtH22 May 7, 2026
50635ba
docs(cli): expand CLI overview hub, plots section, and command index
BrandtH22 May 7, 2026
2601669
docs(cli): address PR 990 review (examples, plots-cli, prose, anchors)
BrandtH22 May 8, 2026
cc300a8
docs(cli): align plots-cli with wallet-style examples and options tables
BrandtH22 May 8, 2026
bbf4a9b
docs(cli): align service CLI pages with Functionality/Usage/Options/R…
BrandtH22 May 8, 2026
49ee053
docs(cli): add Response blocks and options tables for plotnft and db …
BrandtH22 May 8, 2026
430acea
docs(cli): restore pool contract address wording for plots create -c
BrandtH22 May 8, 2026
3e0dfa9
docs(cli): wrap plots-cli examples in mdx-code-block for Crowdin
BrandtH22 May 8, 2026
09bdf2a
docs(cli): wrap service CLI examples in mdx-code-block for Crowdin
BrandtH22 May 8, 2026
1f88402
docs(cli): wrap cli hub plotnft/db listings in mdx-code-block for Cro…
BrandtH22 May 8, 2026
02cc9de
docs(cli): use source-derived stdout/log samples in plots-cli responses
BrandtH22 May 8, 2026
cbc1764
docs(cli): use source-derived farm and plotnft example responses
BrandtH22 May 8, 2026
0a876ce
docs(cli): use source-derived show/netspace/peer/solver example respo…
BrandtH22 May 8, 2026
f3e4e4f
docs(cli): use source-derived plotnft and db hub example responses
BrandtH22 May 8, 2026
b5a2806
docs(cli): align transaction_submitted_msg sample with mempool status…
BrandtH22 May 8, 2026
4cfe7bb
style: prettier farmer-cli.md
BrandtH22 May 8, 2026
68eeffc
Merge branch 'main' into docs/cli-overview-top-level-index
BrandtH22 Aug 12, 2026
3f036eb
docs(cli): fix farm challenges sample and clarify connect-solver host…
BrandtH22 Aug 12, 2026
0c22009
docs(cli): preserve legacy plots-check anchor on CLI hub
BrandtH22 Aug 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
180 changes: 135 additions & 45 deletions docs/reference-client/cli-reference/cli.md

Large diffs are not rendered by default.

75 changes: 75 additions & 0 deletions docs/reference-client/cli-reference/farmer-cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
sidebar_label: Farmer
title: Farmer CLI
slug: /reference-client/cli-reference/farmer-cli
---

Commands that query or configure **farming** and **pooling** through the farmer and wallet RPC clients. Default farmer RPC port **8559** (`farmer.rpc_port`). For JSON-RPC reference, see [Farmer RPC](/reference-client/rpc-reference/farmer-rpc).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why all the bold?


Sources: [`chia/cmds/farm.py`](https://github.com/Chia-Network/chia-blockchain/blob/main/chia/cmds/farm.py), [`chia/cmds/plotnft.py`](https://github.com/Chia-Network/chia-blockchain/blob/main/chia/cmds/plotnft.py).

## `chia farm`

### `chia farm summary`

Usage: `chia farm summary [OPTIONS]`

Prints farming status: blockchain sync (via full node), harvester summaries, plot counts, and estimated rewards when services are reachable.

| Option | Description |
| :----------------------------- | :------------------------------------------------ |
| `-p`, `--rpc-port` | Full node RPC port. |
| `-wp`, `--wallet-rpc-port` | Wallet RPC port. |
| `-hp`, `--harvester-rpc-port` | Harvester RPC port (local harvester). |
| `-fp`, `--farmer-rpc-port` | Farmer RPC port. |
| `-i`, `--include-pool-rewards` | Include pool farming rewards in displayed totals. |

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need an example added

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the example does not contain the example output...make sure your skill is updated to include the proper template for these and that all are verified against that template


### `chia farm challenges`

Usage: `chia farm challenges [OPTIONS]`

Shows recent signage point challenges from the farmer.

| Option | Description |
| :------------------------- | :------------------------------------------------ |
| `-fp`, `--farmer-rpc-port` | Farmer RPC port. |
| `-l`, `--limit` | Max challenges to print (`0` disables the limit). |

### `chia farm connect-solver` {#chia-farm-connect-solver}

Usage: `chia farm connect-solver [OPTIONS] SOLVER_ADDRESS`

Points the farmer at a **Solver** service (`host:port`). Solver integration is also configurable via farmer RPC (see `connect_to_solver` on [Farmer RPC](/reference-client/rpc-reference/farmer-rpc)) and [Solver CLI](/reference-client/cli-reference/solver-cli).

| Option | Description |
| :------------------------- | :--------------- |
| `-fp`, `--farmer-rpc-port` | Farmer RPC port. |

## Plot NFT {#plot-nft}

Usage: `chia plotnft [OPTIONS] COMMAND`

Plot NFT commands use the **wallet** RPC (pooling operations). Run `chia plotnft -h` for the full subcommand list; common commands include:

| Command | Purpose |
| :--------------- | :------------------------------------------------------------ |
| `show` | Show plot NFT and pool state (launcher id, pool URL, points). |
| `create` | Create a plot NFT (pool URL or self-farming). |
| `join` / `leave` | Switch pools or return to self-farming. |
| `claim` | Claim pool rewards. |
| `inspect` | Detailed plot NFT JSON. |
| `get_login_link` | Pool login link (needs launcher id from `plotnft show`). |

Examples:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

examples should match how they are on the rpc docs, not added as afterthoughts


- Create a plot NFT on a pool: `chia plotnft create -u https://pool.example.com`
- Self-farming plot NFT: `chia plotnft create -s local`
- When plotting to a pool contract, use the **pool contract address** from `chia plotnft show` with your plotting command (`-c` instead of legacy `-p` for pool public key).

## Related

- [CLI overview](/reference-client/cli-reference/cli)
- [Harvester CLI](/reference-client/cli-reference/harvester-cli)
- [Solver CLI](/reference-client/cli-reference/solver-cli)
- [Wallet CLI](/reference-client/cli-reference/wallet-cli)
- [Farmer RPC](/reference-client/rpc-reference/farmer-rpc)
62 changes: 62 additions & 0 deletions docs/reference-client/cli-reference/full-node-cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
sidebar_label: Full Node
title: Full Node CLI
slug: /reference-client/cli-reference/full-node-cli
---

Commands that talk to the **full node** use its RPC interface (default port **8555**, configurable under `full_node.rpc_port` in `config.yaml`). For HTTP JSON-RPC methods, see [Full Node RPC](/reference-client/rpc-reference/full-node-rpc).
Comment thread
BrandtH22 marked this conversation as resolved.
Outdated

Sources: [`chia/cmds/show.py`](https://github.com/Chia-Network/chia-blockchain/blob/main/chia/cmds/show.py), [`chia/cmds/netspace.py`](https://github.com/Chia-Network/chia-blockchain/blob/main/chia/cmds/netspace.py), [`chia/cmds/peer.py`](https://github.com/Chia-Network/chia-blockchain/blob/main/chia/cmds/peer.py).

## `chia show`

Usage: `chia show [OPTIONS]`

Shows blockchain and fee information via the full node. At least one option is required (`no_args_is_help`).

| Option | Description |
| :------------------------------------- | :---------------------------------------------------------------------- |
| `-p`, `--rpc-port` | Full node RPC port (see `full_node.rpc_port` in `config.yaml`). |
| `-f`, `--fee` | Show fee information. |
| `-s`, `--state` | Show current blockchain state (sync height, peak hash, recent headers). |
| `-bh`, `--block-header-hash-by-height` | Look up a block header hash by height (`INTEGER`). |
| `-b`, `--block-by-header-hash` | Look up a block by header hash (`TEXT`). |

:::note Legacy `chia show` connection flags

`-c` / `--connections`, `-a` / `--add-connection`, and `-r` / `--remove-connection` still parse but print a message directing you to **`chia peer full_node`** instead. `-wp` / `--wallet-rpc-port` prints a message that it is unused.

:::

## `chia netspace`

Usage: `chia netspace [OPTIONS]`

Estimates total network space from full node chain data.

| Option | Description |
| :--------------------------- | :---------------------------------------------------------------------------------------------- |
| `-p`, `--rpc-port` | Full node RPC port. |
| `-d`, `--delta-block-height` | Block spacing for the estimate (default `4608`, about one day). Use `192` for roughly one hour. |
| `-s`, `--start` | Newest block height to anchor the calculation (default: peak). |

## `chia peer full_node`

Usage: `chia peer full_node [OPTIONS]`

Inspect or change **full node** peer connections (same RPC service as `chia show`).

| Option | Description |
| :-------------------------- | :------------------------------------------------------------- |
| `-p`, `--rpc-port` | RPC port for the service you are addressing (here: full node). |
| `-c`, `--connections` | List peers connected to this full node. |
| `-a`, `--add-connection` | Connect to another node `ip:port`. |
| `-r`, `--remove-connection` | Remove a peer by the first **8 characters** of its node id. |

Other `chia peer <node_type>` targets (`farmer`, `wallet`, `harvester`, `data_layer`, `simulator`, `solver`) are documented on [Farmer CLI](/reference-client/cli-reference/farmer-cli), [Harvester CLI](/reference-client/cli-reference/harvester-cli), and related pages as applicable.

## Related

- [CLI overview](/reference-client/cli-reference/cli)
- [RPC overview](/reference-client/rpc-reference/rpc)
- [Full Node RPC](/reference-client/rpc-reference/full-node-rpc)
52 changes: 52 additions & 0 deletions docs/reference-client/cli-reference/harvester-cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
sidebar_label: Harvester
title: Harvester CLI
slug: /reference-client/cli-reference/harvester-cli
---

There is no separate top-level `chia harvester` group: the harvester is started with `chia start harvester` (see [CLI overview](/reference-client/cli-reference/cli), section **start**) or bundled inside groups such as `farmer`. Operations below use the **harvester RPC** (default port **8560**, `harvester.rpc_port`) or update plot directories that the harvester reads from `config.yaml`.

For HTTP JSON-RPC methods, see [Harvester RPC](/reference-client/rpc-reference/harvester-rpc).

Sources: [`chia/cmds/peer.py`](https://github.com/Chia-Network/chia-blockchain/blob/main/chia/cmds/peer.py), [`chia/cmds/plots.py`](https://github.com/Chia-Network/chia-blockchain/blob/main/chia/cmds/plots.py), [`chia/cmds/init.py`](https://github.com/Chia-Network/chia-blockchain/blob/main/chia/cmds/init.py), [`chia/cmds/configure.py`](https://github.com/Chia-Network/chia-blockchain/blob/main/chia/cmds/configure.py).

## `chia peer harvester`

Comment thread
BrandtH22 marked this conversation as resolved.
Usage: `chia peer harvester [OPTIONS]`

| Option | Description |
| :-------------------------- | :-------------------------------------------------- |
| `-p`, `--rpc-port` | Harvester RPC port. |
| `-c`, `--connections` | List connections for this harvester. |
| `-a`, `--add-connection` | Add a connection `ip:port`. |
| `-r`, `--remove-connection` | Remove a peer by the first 8 characters of node id. |

## Plot directories (harvester)

The harvester loads plot search paths from configuration. Use the **`chia plots`** commands on the [CLI overview](/reference-client/cli-reference/cli) (`show`, `add`, `remove`, `check`) to manage directories. `chia plots add -d` / `remove -d` update the same list the harvester uses when farming.

## Remote harvester

To run a **remote** harvester that connects to your farmer:

1. Copy CA / certificate material per upstream `chia init` instructions (see **`chia init -h`** and [`chia/cmds/init.py`](https://github.com/Chia-Network/chia-blockchain/blob/main/chia/cmds/init.py) comments).
Comment thread
BrandtH22 marked this conversation as resolved.
Outdated
2. On the harvester machine, point SSL and farmer connection settings at your farmer.
3. Use **`chia configure --set-farmer-peer IP:Port`** on the harvester side so it knows the farmer (see **configure** on the [CLI overview](/reference-client/cli-reference/cli)).

After certificate and peer configuration changes, restart affected services.

## `chia rpc harvester`
Comment thread
BrandtH22 marked this conversation as resolved.
Outdated

Shell JSON-RPC calls follow the same pattern as other services (see [RPC overview](/reference-client/rpc-reference/rpc)):

```bash
chia rpc harvester <method> '<json>'
```

Method names and payloads match [Harvester RPC](/reference-client/rpc-reference/harvester-rpc).

## Related

- [CLI overview](/reference-client/cli-reference/cli)
- [Farmer CLI](/reference-client/cli-reference/farmer-cli)
- [Harvester RPC](/reference-client/rpc-reference/harvester-rpc)
34 changes: 34 additions & 0 deletions docs/reference-client/cli-reference/solver-cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
sidebar_label: Solver
title: Solver CLI
slug: /reference-client/cli-reference/solver-cli
---

The **Solver** service accepts JSON-RPC over TLS on port **8667** by default (`solver.rpc_port` in `config.yaml`). Method-level HTTP RPC documentation is on [Solver RPC](/reference-client/rpc-reference/solver-rpc). Call methods from the shell with `chia rpc solver <method> '<json>'` like other services (see [RPC overview](/reference-client/rpc-reference/rpc)).
Comment thread
BrandtH22 marked this conversation as resolved.
Outdated

Sources: [`chia/cmds/solver.py`](https://github.com/Chia-Network/chia-blockchain/blob/main/chia/cmds/solver.py).

## `chia solver`

### `chia solver get_state`

Usage: `chia solver get_state [OPTIONS]`

Returns current solver state from the running Solver service.

| Option | Description |
| :------------------------- | :-------------------------------------------------------- |
| `-sp`, `--solver-rpc-port` | Solver RPC port (see `solver.rpc_port` in `config.yaml`). |

## Farmer integration

- CLI: [`chia farm connect-solver`](/reference-client/cli-reference/farmer-cli#chia-farm-connect-solver)
- RPC: `connect_to_solver` and related calls on [Farmer RPC](/reference-client/rpc-reference/farmer-rpc)
- Config: `chia configure --set-solver-peer` and farmer `solver_peers` (see **configure** on the [CLI overview](/reference-client/cli-reference/cli))

## Related

- [CLI overview](/reference-client/cli-reference/cli)
- [Farmer CLI](/reference-client/cli-reference/farmer-cli)
- [Solver RPC](/reference-client/rpc-reference/solver-rpc)
- [RPC overview](/reference-client/rpc-reference/rpc)
4 changes: 4 additions & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,12 @@ module.exports = {
'reference-client/cli-reference/offer-cli',
'reference-client/cli-reference/plotter-cli',
'reference-client/cli-reference/simulator-cli',
'reference-client/cli-reference/solver-cli',
'reference-client/cli-reference/vc-cli',
'reference-client/cli-reference/wallet-cli',
'reference-client/cli-reference/farmer-cli',
'reference-client/cli-reference/full-node-cli',
'reference-client/cli-reference/harvester-cli',
'reference-client/cli-reference/cat-admin-cli',
'reference-client/cli-reference/clawback-cli',
'reference-client/cli-reference/custody-tool-cli',
Expand Down
Loading