Harvester CLI
There is no top-level chia harvester command group. Start the harvester with chia start harvester (see the start section on the CLI overview) or via groups such as farmer. CLI operations below use the harvester RPC (default port 8560, harvester.rpc_port) or plot paths from config.yaml.
HTTP JSON-RPC methods and payloads are documented on Harvester RPC. Use chia rpc harvester <method> '<json>' the same way as other services (see RPC overview).
Sources: chia/cmds/peer.py, chia/cmds/peer_funcs.py, chia/cmds/plots.py.
Reference
chia peer harvester
Functionality: List or modify peer connections for the harvester RPC service.
Usage: chia peer [OPTIONS] harvester
Options:
| Short Command | Long Command | Type | Required | Description |
|---|---|---|---|---|
-p | --rpc-port | INTEGER | False | Harvester RPC port (harvester.rpc_port). |
-c | --connections | None | False | List connections for this harvester. |
-a | --add-connection | TEXT | False | Add a connection ip:port. |
-r | --remove-connection | TEXT | False | Remove a peer by the first 8 characters of node id. |
-h | --help | None | False | Show a help message and exit. |
Example
chia peer harvester -c
Response:
Same print_connections formatting as chia peer full_node -c, but peers reflect harvester connections (often fewer rows):
Connections:
Type IP Ports NodeID Last Connect MiB Up|Dwn
FARMER 127.0.0.1 8447/8448 f3e4d5c6... Jan 15 12:00:01 0.1| 2.4
If there are no peers, you still get the two header lines plus no connection rows.
Plot directories
The harvester reads plot search paths from configuration. Manage directories with chia plots on Plots CLI (show, add, remove, check).
Remote harvester
For TLS, copying CA material, and multi-machine layout, follow Farming on many machines. On the harvester host, point the client at your farmer with chia configure --set-farmer-peer IP:Port (see the configure section on the CLI overview), then restart services.