Config File

JSON config file is the preferred way to configure XMRig. The command line interface does not cover all features, such as mining profiles for different algorithms. Important options can be changed during runtime without miner restart by editing the config file or executing API calls.

  • Wizard helps you create an initial minimal config file.
  • Config example shipped with miner binaries and can be found on github .

Config search paths

  1. Path to config file specified by command line option --config or -c.
  2. config.json in the same directory with the miner executable.
  3. .xmrig.json or .config/xmrig.json in the user home directory. #1925
  4. Embedded config. #957