
XMRig v6.20.0. Download and configure CPU/GPU miner
XMRig — CPU/GPU Miner with support for RandomX, KawPow, CryptoNight, AstroBWT and Argon2 algorithms. Works on processors and video cards of both types (Nvidia and AMD). Supports all operating systems including Windows, Linux, macOS and FreeBSD. XMRig is popular in Monero (XMR) mining.
The standard miner commission is 1% (the miner mines for developers 1 minute every 100 minutes of work). However, the commission can be increased if desired, or even completely turned off.
Features:
- open source
- High performance
- Official Windows Support
- randomx support
- Nicehash Support
Download XMRig miner
Download latest XMRig 6.20.0 for Windows and Linux:
Update
Release: v6.20.0
- Added new ARM processor names.
- Added new CMake options
ARM_V8and filesARM_V7. - Added API rebinding poll.
- Fixed compatibility with hwloc 1.11.x.
- Added x86 to
README.md. - Fixed: CUDA loader error also appears on Linux.
- Added support for Zephyr coins for solo mining.
Algorithms
Below is a table of algorithms that XMRig supports. For each of the algorithms, the memory requirements for one mining thread are shown.
| Name | Memory | Version | Description | Notes |
|---|---|---|---|---|
| argon2/chukwav2 | 1 MB | 6.4.0+ | Argon2id (Chukwa v2). | CPU only |
| cn/ccx | 2 MB | 6.2.0+ | Conceal (CCX) | |
| kawpow | – | 6.0.0+ | KawPow (Ravencoin) | GPU only, not supported by xmrig-proxy |
| rx/keva | 1 MB | 5.9.0+ | RandomKEVA (RandomX variant for Keva). | |
| astrobwt | 20 MB | 5.8.0+ | AstroBWT (Dero). | |
| cn-pico/tlo | 256 KB | 5.5.0+ | CryptoNight-Pico (Talleo). | |
| rx/sfx | 2 MB | 5.4.0+ | RandomSFX (RandomX variant for Safex). | |
| rx/arq | 256 KB | 4.3.0+ | RandomARQ (RandomX variant for ArQmA). | |
| rx/0 | 2 MB | 3.2.0+ | RandomX (Monero). | |
| argon2/chukwa | 512 KB | 3.1.0+ | Argon2id (Chukwa). | CPU only |
| argon2/wrkz | 256 KB | 3.1.0+ | Argon2id (WRKZ) | CPU only |
| rx/wow | 1 MB | 3.0.0+ | RandomWOW (RandomX variant for Wownero). | |
| cn/fast | 2 MB | 3.0.0+ | CryptoNight variant 1 with half iterations. | |
| cn/rwz | 2 MB | 2.14.0+ | CryptoNight variant 2 with 3/4 iterations and reversed shuffle operation. | |
| cn/zls | 2 MB | 2.14.0+ | CryptoNight variant 2 with 3/4 iterations. | |
| cn/double | 2 MB | 2.14.0+ | CryptoNight variant 2 with double iterations. | |
| cn/r | 2 MB | 2.13.0+ | CryptoNightR (Monero’s variant 4). | |
| cn-pico | 256 KB | 2.10.0+ | CryptoNight-Pico. | |
| cn/half | 2 MB | 2.9.0+ | CryptoNight variant 2 with half iterations. | |
| cn/2 | 2 MB | 2.8.0+ | CryptoNight variant 2. | |
| cn/xao | 2 MB | 2.6.4+ | CryptoNight variant 0 (modified). | |
| cn/rto | 2 MB | 2.6.4+ | CryptoNight variant 1 (modified). | |
| cn-heavy/tube | 4 MB | 2.6.4+ | CryptoNight-Heavy (modified). | |
| cn-heavy/xhv | 4 MB | 2.6.3+ | CryptoNight-Heavy (modified). | |
| cn-heavy/0 | 4 MB | 2.6.0+ | CryptoNight-Heavy. | |
| cn/1 | 2 MB | 2.5.0+ | CryptoNight variant 1. | |
| cn-lite/1 | 1 MB | 2.5.0+ | CryptoNight-Lite variant 1. | |
| cn-lite/0 | 1 MB | 0.8.0+ | CryptoNight-Lite variant 0. | |
| cn/0 | 2 MB | 0.5.0+ | CryptoNight (original). |
Setting up and running XMRig
In order to mine coins you need:
- Download program
- unzip to any convenient place
- edit the .bat file with the desired coin (change the wallet to your own)
The contents of the compiled miner looks like this:
The process of mining cryptocurrencies is started by double-clicking on the start batch file or application.
Let’s consider the setting in more detail.
Configuring .bat file for XMRig
To mine coins on the randomx algorithm, we need to create or edit a ready-made batch file for the coin you need. These are the basic settings that are enough for mining.
- xmrig – this key will indicate which program will be launched. We leave it as is. For Nvidia, specify xmrig-nvidia
- -a randomx — specify the algorithm. For Monero, we leave this one. For coins on the cryptonight-lite algorithm, specify it
- -o pool.supportxmr.com – specify the address of your pool. In this example, we have supportxmr, because at the time of writing, it received the highest number of positive reviews
- 5555 — after the address of the pool, through a colon, specify the port of the pool. dwarfpool has 8050
- -u 4ALcw9nTA…r34HNroSAZ — specify the address of your digital wallet after the -u key. Get it on the cryptocurrency exchange, or install a cold wallet
- —donate-level=1 — set the miner’s commission. By default it is 5%. level=1 means 1%
You can add the “pause” key at the very bottom of the batch file, so that in the event of a program error or incorrect syntax of the .bat file, the program does not immediately close, but displays the error code and description on the screen.
Payment ID is now not required. Specify only the address of your wallet!
On this basic setup of the miner, you can complete and run the program.
CMake Options
Algorithms
-DWITH_CN_LITE=OFFdisable all CryptoNight-Lite algorithms (cn-lite/*).-DWITH_CN_HEAVY=OFFdisable all CryptoNight-Heavy algorithms (cn-heavy/*).-DWITH_CN_PICO=OFFdisable CryptoNight-Pico algorithms (cn-picoandcn-pico/tlo).-DWITH_RANDOMX=OFFdisable RandomX algorithms (rx/*).-DWITH_ARGON2=OFFdisable Argon2 algorithms (argon2/*).-DWITH_ASTROBWT=OFFотключить алгоритм AstroBWT (astrobwt).-DWITH_KAWPOW=OFFdisable the KawPow algorithm (kawpow).
Functions
-DWITH_HWLOC=OFFdisable hwloc support. In most cases, disabling this feature is not recommended. This feature adds an external dependency to libhwloc (1.10.0+), except for MSVC builds.-DWITH_LIBCPUID=OFFdisable built-in libcpuid support, this feature is always disabled if hwloc is enabled, if both hwloc and libcpuid are disabled autoconfiguration for the CPU will be very limited.-DWITH_HTTP=OFFdisable built-in HTTP support, this function is used to support the HTTP API and daemon (solo mining).-DWITH_TLS=OFFdisable support for SSL / TLS (secure pool connections). This feature adds an external dependency to OpenSSL.-DWITH_ASM=OFFdisable build optimization for modern CryptoNight algorithms.- DWITH_EMBEDDED_CONFIG=ONEnable embedded configuration support.-DWITH_OPENCL=OFFdisable the OpenCL backend.-DWITH_CUDA=OFFdisable NVIDIA CUDA backend.-DWITH_NVML=OFFdisable NVML (NVIDIA Management Library) support (this feature is only available when CUDA is enabled).-DWITH_MSR=OFFdisable MSR mod and Ryzen 1st Gen patch.-DWITH_ADL=OFFdisable ADL (AMD Display Library) or sysfs support (this feature is only available when OpenCL is enabled).-DWITH_PROFILING=ONenable developer profiling.-DWITH_SSE4_1=OFFdisable SSE 4.1 for Blake2.-DWITH_BENCHMARK=OFFdisable the built-in RandomX benchmark and stress test.-DWITH_SECURE_JIT=ONenable secure JIT memory access.OFFby default on all operating systems except macOS with an ARM processor.-DWITH_DMI=OFFdisable DMI / SMBIOS reader.
Debug Options
-DWITH_DEBUG_LOG=ONenable debug logging (mainly network requests).-DHWLOC_DEBUG=ONenable some debug logging for hwloc.-DCMAKE_BUILD_TYPE=Debugenable debug build, only useful for investigating crashes, this option slows down the miner.
Special assembly options
-DBUILD_STATIC=ONbuild a fully static executable, this option only works properly on Alpine Linux and FreeBSD.-DXMRIG_DEPS=<path>path to precompiled dependencies.-DARM_TARGET=<number>override ARM target, possibleзначения7(ARMv7)8(ARMv8).-DUV_INCLUDE_DIR=<path>custom path to libuv headers.-DUV_LIBRARY=<path>custom path to libuv library.-DHWLOC_INCLUDE_DIR=<path>custom path to hwloc headers.-DHWLOC_LIBRARY=<path>custom path to hwloc library.-DOPENSSL_ROOT_DIR=<path>set path to OpenSSL.-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++custom C and C++ compiler.
Read more articles about cryptocurrencies and mining at CRAZY-MINING.ORG
Do you like to read similar articles about cryptocurrencies and mining, do you want to support me as an author or ask questions? Be the first to know the news, subscribe to my telegram channel
Read more:
XMRig 5.3.0: Download and Configure CPU/GPU, OpenCL, CUDA miner
XMRig v5.2.0 (RandomX, CryptoNight, Argon2) – Download and Configure
XMRig v5.1.1 (RandomX, CryptoNight, Argon2) – Download and Configure for Windows
XMRig v6.10.0 (CPU/GPU Miner RandomX, CryptoNight, KawPow): Download and Configure.
Download XMRig 2.14.6 – Monero AMD (OpenCL) miner
Download XMRig 3.2.0 (RandomX, CryptoNight and Argon2 CPU miner)
Xmrig 2.14.5 (AMD & Nvidia GPU Miner) Download and Configure
XMRig v6.4.0: Download and Setup Miner CPU/GPU AMD NVIDIA
XMRig v5.5.0/5.4.0 (RandomX, CryptoNight and Argon2 CPU/GPU miner)
XMRig v5.5.0 (NoDevFee): RandomX, CryptoNight and Argon2 CPU/GPU miner
XMRig v5.5.1: RandomX, CryptoNight and Argon2 CPU/GPU miner
XMRig v5.1.0 (RandomX/Monero XMR, CryptoNight, Argon2)












Post Comment