bitcoin-cli(1) a remote procedure call client for Bitcoin Core.


bitcoin-cli [options] <command> [params] - Send command to Bitcoin Core.
bitcoin-cli [options] help - Asks Bitcoin Core for a list of supported commands.


This manual page documents the bitcoin-cli program. bitcoin-cli is an RPC client used to send commands to Bitcoin Core.


Show the help message.
Specify configuration file (default: bitcoin.conf).
Specify data directory.
Connect to a Bitcoin Core instance running in testnet mode.
Connect to a Bitcoin Core instance running in regtest mode (see documentation for -regtest on bitcoind).
Username for JSON-RPC connections.
Password for JSON-RPC connections.
Listen for JSON-RPC connections on <port> (default: 8332 or testnet: 18332).
Send commands to node running on <ip> (default:
Use OpenSSL (https) for JSON-RPC connections (see the Bitcoin Wiki for SSL setup instructions).


This manual page was written by Ciemon Dunville <[email protected]>. Permission is granted to copy, distribute and/or modify this document under the terms of the MIT License.

The complete text of the MIT License can be found on the web at