English Spanish
Before starting, you already need to have a wallet configured and working. The pool needs to know your wallet address to be able to send payments there. See the [Accepting Monero guide]({{ site.baseurl }}/get-started/accepting) for more information.
Before mining, you should decide if it is worth it or not for you. You have to decide this for yourself, based on your power costs and the hardware that you have available. There are many sites, such as [CryptoCompare](https://www.cryptocompare.com/mining/calculator/xmr) that allow you to enter your miner's speed and power draw, and it will show you the profit (or loss) per week/month.
Download Miner
The first step is to download mining software onto your computer.
The XMRig developer provides pre-built binaries for Windows users. They are available on the [GitHub release page](https://github.com/xmrig/xmrig/releases/latest).
Scroll down until you see `xmrig-VERSION-msvc-win64.zip`. Download this file and extract the archive somewhere memorable, like your desktop.
Ubuntu Linux
The XMRig developer provides pre-built binaries for Ubuntu Bionic (18.04) and Focal (20.04). They may work on other Ubuntu versions, and on other distributions, but this is not guaranteed.
These binaries are available on the [GitHub release page](https://github.com/xmrig/xmrig/releases/latest).
Binaries are available for multiple distributions and operative systems, but you can also build the miner by yourself. Take a loot at [XMrig's docs](https://xmrig.com/docs/miner)
Choosing a larger pool means that you will see more frequent (but smaller) payouts, but choosing a smaller pools helps keep the network decentralised. [Miners will not lose any revenue by mining on a smaller pool](https://redd.it/g6uh2l).
Configuring the miner
See the [official docs](https://xmrig.com/docs/miner/config), for instructions and suggestions.
Starting the miner
Windows users can double click on xmrig.exe. Users of other operating systems should `cd` into the directory that contains XMRig and then type `./xmrig` and press return.
If you see green messages saying that shares have been accepted, congratulations, everything is working!
Anti-virus keeps removing XMRig
Some anti-viruses flag XMRig as malware because it is often deployed to infected computers to mine without the owner's consent. As it is your computer and you are configuring the miner to mine for you, it is safe to add XMRig to your anti-virus whitelist.
Cannot read/set MSR