In this video, I take you through the complete process of setting up, compiling, and running a Monero miner on a Raspberry Pi 5 with 4GB of RAM running Debian 12. Whether you’re interested in crypto mining, learning more about the capabilities of the Raspberry Pi 5, or just curious about the process, this guide has you covered.

All the commands and configurations used in this video are available below. Make sure to check it out to follow along with the video.

sudo apt install git build-essential cmake libuv1-dev libssl-dev libhwloc-dev
git clone https://github.com/xmrig/xmrig.git
mkdir xmrig/build && cd xmrig/build
cmake ..
make -j$(nproc)