Install XMRig on macOS
Update: You can download and install already to use XMRig here.
1. Install Homebrew. Open Terminal and type:
Code: Select all
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
2. After Homebrew installation completes, install XMRIG. In Terminal, type:
Code: Select all
brew install cmake libuv openssl hwloc
Code: Select all
git clone https://github.com/xmrig/xmrig.git
Code: Select all
mkdir xmrig/build && cd xmrig/build
Code: Select all
cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl
Code: Select all
make -j$(sysctl -n hw.logicalcpu)
3. Next, we need to create a configuration file for XMRig. The XMRig site offers a configuration wizard. Go to https://xmrig.com/wizard and click New Configuration -> Add Pool.
4. Enter your Monero (XMR) wallet address and choose your location the click Add Pool.
5. Select Backends. Choose which backends to use for mining crypto on your Mac. Select CPU, if you have an AMD graphics card choose OpenCL, if you have a NVIDIA graphics card choose CUDA.
6. Select Misc. Choose your donation rate back to the developers. You can set this to 0.0% if you choose but will have to be manually edited in the configuration file after.
7. Select Result. Click the download icon to save the configuration file. This will download a file called config.json.
8. Now, move the config.json file to your XMRig installation. Go to
Code: Select all
/Hard Drive/Users/user/xmrig/build/
Run XMRig on macOS
1. Open Terminal and navigate to the XMRig install folder:
Code: Select all
cd /Users/user/xmrig/build
2. Start XMRIg. Type:
Code: Select all
./xmrig
3. XMRig will start mining immediately. If you enabled GPU benchmarking in your configuration file, XMRig will begin compiling your hardware to mine.
How To Check Your Earnings:
1. You need to visit your minerpool website to check your earnings. In most cases, you only need to provide your wallet address to find your workers and earnings report. You can see an example below of a minerpool and earnings: