XMRig is a high performance, open source, cross platform unified CPU/GPU miner
Download The Miner and extract the archive to any folder.
Navigate to your chosen pool's webpage and read documentation. It should contain an address and port for you to enter into your miner. For example, pool.xmr.pt:3333.
Next, open up the config.json you copied or extracted earlier in your favourite text editor.
Scroll down to the line that says donate.v2.xmrig.com:3333 and change the text inside the quotes to the address of your pool.
The line below should contain YOUR_WALLET_ADDRESS. Change that to your actual wallet address. After these modifications, your configuration should look something like this:
Windows users can double click on xmrig.exe. Users of other operatingsystems should cd into the directory that contains XMRig and thentype ./xmrig and press return.
If you see green messages saying that shares have been accepted, congratulations, everything is working!
More information can be found on:GitHub