```{eval-rst} .. _dashcore-arguments-and-commands: .. meta:: :title: Dash Core Arguments and Commands :description: Overview of arguments and commands for the components distributed with Dash Core, including dashd, dash-qt, and dash-cli. ``` # Arguments and Commands ## Overview All command-line options (except for `-conf`) may be specified in a configuration file, and all configuration file options may also be specified on the command line. Command-line options override values set in the configuration file. The configuration file is a list of `=` pairs, one per line, with optional comments starting with the `#` character. The configuration file is not automatically created; you can create it using your favorite plain-text editor. By default, dash-qt (or dashd) will look for a file named `dash.conf` in the Dash data directory, but both the data directory and the configuration file path may be changed using the `-datadir` and `-conf` command-line arguments. | Platform | Path to data folder | Typical path to configuration file | | - | - | - | | Linux | ~/ | /home/username/.dashcore/dash.conf | | macOS | ~/Library/Application Support/ | /Users/username/Library/Application Support/DashCore/dash.conf | | Windows | %APPDATA% | _(Vista-10)_ C:\\Users\\username\\AppData\\Roaming\\DashCore\\dash.conf | | Windows | %APPDATA% | _(2000-XP)_ C:\\Documents and Settings\\username\\Application Data\\DashCore\\dash.conf | > 📘 Testnet/Devnet modes > > Note: if running Dash in testnet mode, the sub-folder `testnet3` will be appended to the data directory automatically. Likewise, if running in devnet mode, the subfolder `devnet-"devnet name"` will be appended to the data directory. ## Command Line Arguments The following sections provide details of the command line arguments for each of the five components distributed in Dash Core releases. | Component | Description | | - | - | | dashd | Dash Core daemon | | dash-qt | Dash Core wallet GUI | | dash-cli | Dash Core RPC Client | | dash-tx | Dash Core transaction utility | | dash-wallet | Dash Core wallet utility | ### dashd View all [command line options for dashd](../dashcore/wallet-arguments-and-commands-dashd.md). ```bash Usage: dashd [options] Start Dash Core Daemon ``` ### dash-qt View all [command line options for dash-qt](../dashcore/wallet-arguments-and-commands-dash-qt.md). ```bash Usage: dash-qt [command-line options] ``` ### dash-cli View all [command line options for dash-cli](../dashcore/wallet-arguments-and-commands-dash-cli.md). ```bash Usage: dash-cli [options] [params] Send command to Dash Core dash-cli [options] -named [name=value] ... Send command to Dash Core (with named arguments) dash-cli [options] help List commands dash-cli [options] help Get help for a command ``` ### dash-tx View all [command line options for dash-tx](../dashcore/wallet-arguments-and-commands-dash-tx.md). ```bash Usage: dash-tx [options] [commands] Update hex-encoded dash transaction dash-tx [options] -create [commands] Create hex-encoded dash transaction ``` ### dash-wallet > 👍 > > Introduced in Dash Core 18.0.0 View all [command line options for dash-wallet](../dashcore/wallet-arguments-and-commands-dash-wallet.md). ```bash Usage: dash-wallet [options] ``` ```{toctree} :maxdepth: 2 :titlesonly: wallet-arguments-and-commands-dashd wallet-arguments-and-commands-dash-qt wallet-arguments-and-commands-dash-cli wallet-arguments-and-commands-dash-tx wallet-arguments-and-commands-dash-wallet ```