Options:
-o, --url URL Pool endpoint: [scheme://]host[:port]
scheme: stratum+ssl:// (TLS only)
--pool URL Alias for --url
-u, --user WALLET Payout wallet
--wallet WALLET Alias for --user
-p, --password PW Pool password
--coin COIN Coin to mine: pearl (the default; aliases prl,
pearlhash) or quantus (alias qtc)
--algorithm COIN Alias for --coin
--algo COIN Alias for --coin
-h, --help Print help and exit
-V, --version Print version and exit
Failover pools: give --url, --user and --password once per pool, or repeat --url alone and pass --user and --password a single time for all of them.
Device selection:
-d, --devices LIST Devices to mine on: comma-separated 0-based
indices, or 'all' (default). e.g. -d 0,2
--devices-pci LIST Devices to mine on, by PCI address: comma-separated
bus:device.function. e.g. --devices-pci 01:00.0,0a:00.0
--amd-igpu Include AMD integrated GPUs (APU/iGPU); excluded by
default. Affects -d and --list-devices indices.
--list-devices List detected devices (index/name/pci) and exit
Backend selection (by default Krig runs both backends and mines every detected NVIDIA and AMD GPU):
--no-cuda Disable the CUDA backend (don't load CUDA DLLs or
enumerate NVIDIA GPUs) — for an AMD-only rig
--no-rocm Disable the ROCm backend (don't load HIP DLLs or
enumerate AMD GPUs) — for an NVIDIA-only rig
--rocm-runtime 6|7 Pin the HIP runtime major; by default 6 is tried
first, then 7
Overclocking (NVIDIA only):
--gpu-cclock MHZ Lock the core clock
--gpu-mclock MHZ Lock the memory clock
--gpu-coffset MHZ Core clock offset, signed
--gpu-moffset MHZ Memory clock offset, signed
--gpu-plimit WATTS Board power limit
--gpu-fan PERCENT Set every fan on each GPU, 0-100. One value applies
to all selected GPUs; a list follows the selected-
device order, and '_' leaves a card alone
--gpu-no-reset-oc Keep the settings on exit instead of restoring them
Stats API:
--api-port PORT Enable the HTTP API on PORT, Prometheus /metrics
included
--api-host IP Bind interface (optional, default 127.0.0.1)
e.g. --api-port 12000 --api-host 127.0.0.1
Logging and interface:
-l, --log-level LEVEL Console verbosity: trace|debug|info|warn|error|
critical|none (default info). debug brings back the
detailed per-job and per-share output
--log-file FILE Write the log to FILE as well
--no-tui Turn the interactive terminal interface off and print
the log line by line (also automatic when the output
is redirected)
