Following the tutorial: https://littleosbook.github.io
$ brew install nasm # virtual machine
$ brew install qemu # assembler
$ brew install cdrtools # includes a utility for making disk images
Install binutils following these instructions to get gnu-ld