XMR-Stak is a unified miner, which means the same program will be used to mine with both your CPU and your GPU. It will automatically detect your hardware and adjust the settings accordingly.

Downloading and Installing for Linux

View this guide to get started with XMR-Stak on Linux.

Downloading and Installing for Windows

  1. Download and install XMR-Stak Unified Miner. It will auto-detect your hardware, and tune everything for you.

  2. Make a folder called Qwertycoin Miner on your desktop and unzip the files you just downloaded for XMR-Stak in there.

  3. Double-click on xmr-stak.exe.

To start XMR-Stak without using your CPU/GPU, follow these steps:

  • Open Terminal

  • Type cd Desktop\Qwertycoin Miner

To start XMR-Stak without utilising the CPU, type xmr-stak.exe --noCPU

To start XMR-Stak without utilizing your nVidia GPU, type xmr-stak.exe --noNVIDIA

To start XMR-Stak without utilizing your AMD GPU, type xmr-stak.exe --noAMD

To start XMR-Stak without utilizing either of your GPU's, type xmr-stak.exe --noAMD --noNVIDIA

If you want to use both your CPU and your GPU, ignore these steps. Just launch xmr-stak.exe

  1. Click Yes when it asks if you want to run as Administrator. This is so that the program can see what hardware you're running.

Downloading and Installing for Mac


Assuming you already have Homebrew installed, the installation of dependencies is pretty straightforward and will generate the xmr-stak binary in the bin/ directory.

For CPU-only

brew install hwloc libmicrohttpd gcc openssl cmake
cmake . -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF
make install


brew tap caskroom/drivers
brew cask install nvidia-cuda
brew install hwloc libmicrohttpd gcc openssl cmake
cmake . -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DOpenCL_ENABLE=OFF
make install


OpenCL is bundled with Xcode, so no other depedency then the basic ones needed. Just enable OpenCL via the -DOpenCL_ENABLE=ON CMake option.

brew install hwloc libmicrohttpd gcc openssl cmake
cmake . -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=ON
make install

XMR-Stak Setup and Configuration

Upon first launching XMR-Stak, the software will ask you several setup and configuration questions.

  1. Please enter: - Do you want to use the HTTP interface? Unlike the screen display, browser interface is not affected by the GPU lag. If you don't want to use it, please enter 0, otherwise enter port number that the miner should listen on

Enter 0, if you are like most people, and do not need to remotely check your hashrate.

If you do need to, then enter a port number. Generally it is recommended to use a port number in the range 1025-65535. For example purposes, lets say you used 8257 as the port.

To check the hashrate, enter in the address bar of your web browser, Change the 8257 if you used a different port.

It should show a page with your rig's hashrate.

If you want to check your miners hashrate whilst you are on a different network, you will have to enter your computers IP address, followed by the port, for example,

You can find your computers IP by visiting this website whilst on that computer: http://whatsmyip.org/

You will probably have to open the port you are running the interface on in your router admin panel. Instructions on how to do this are out of scope for this document.

Please enter:
- Please enter the currency that you want to mine:

- aeon7
- bbscoin
- croat
- cryptonight
- cryptonight_heavy
- cryptonight_lite
- cryptonight_lite_v7
- cryptonight_v7
- edollar
- electroneum
- graft
- haven
- intense
- karbo
- monero7
- stellite
- sumokoin
- turtlecoin

Enter cryptonight

  1. - Pool address: e.g. pool.example.com:3333

Choose a pool from any of the available pools that is closest to you and enter its URL (you will be able to add more later).

  1. - Username (Wallet address or pool login):

If you have not yet downloaded and ran the Qwertycoin core software to sync the blockchain and create a wallet, you can make a paper wallet to start mining towards now, and import the wallet later.

  1. - Password (mostly empty or x): Enter x.

  2. - Rig identifier for pool-side statistics (needs pool support). Can be empty: Leave it empty and press enter.

  3. - Does this pool port support TLS/SSL? Use no if unknown. (y/N) In most cases, N is fine.

  4. - Do you want to use nicehash on this pool? (y/n) Enter n (in case you do, enter y).

  5. - Do you want to use multiple pools? (y/n)

  • Enter y if you would like to add more pools.

  • Give the pools nearest to you a higher number, and the ones further from you a lower number. Give them all a weight of 10 if you don't care.

  • XMR-Stak will prioritize the highest weight pool, and fall back to the others if it cannot connect.

  • If they are all given the same weight, it will connect to them in order of how they are listed, form top to bottom, in the configuration file.

  • If you are on Windows 7/8, it will ask for administrator permission again. Click Yes to grant it permission.

  • If you are on Windows 10, it will not ask for it again. Done! The miner will now start scanning your hardware and will begin mining. Awesome!

XMR-Stak will save your configuration in config.txt in the same directory from which it was first run. Your configuration for pools(algorithm to mine, address, port etc) will be saved in pools.txt The configuration of the device it mines(CPU/AMD/NVIDIA) will be saved in cpu.txt, amd.txt or nvidia.txt, respectively.

Run XMR-Stak again from the same directory to reuse the configuration.

Last updated