How to run xmrig on your Mac as a background process

If you mine your cryptocurrencies on your Mac using xmrig, here’s how you can automate it in such a way that it will run quietly in the background on boot-up. I use this set up to passively mine Dogecoin ($DOGE).

Note: this makes the assumption that your xmrig and config.json are all properly set up. If you need help with this, check out this amazingly helpful video tutorial on getting set up

For this we’re going to be leveraging launch agents. A launch agent is much like a launch daemon in that it runs programs as…