This guide explains how to emulate a Raspberry Pi and its ARM-based hardware stack under macOS Mojave – running the recent Raspbian Buster [^1].
The light QEMU open-source Quick Emulator framework, will be used.
Homebrew as well as some basic level shell-fu is required.