Still, in this example, I'm using Homebrew, a package manager for macOS/OSX that allows you to install software via the CLI and manage easily. There are alternate versions and different ways to install it. It's pretty powerful, free, and has a macOS port. Unlike VMWare, it's able to both virtualize CPUs and emulate various CPU instruction sets. QEMU is an open-source emulator for virtualizing computers.