qemu

Generic machine emulator and virtualizer for running VMs

brewmacoslinux
Try with needOr install directly
Source

About

Generic machine emulator and virtualizer

Commands

qemu-system-x86_64qemu-system-aarch64qemu-imgqemu-io

Examples

Boot a Linux VM with 2GB RAM and 2 CPU cores$ qemu-system-x86_64 -m 2G -smp 2 -hda disk.img -enable-kvm
Create a new QEMU disk image of 20GB$ qemu-img create -f qcow2 myvm.qcow2 20G
Run ARM64 virtual machine with 4GB RAM$ qemu-system-aarch64 -m 4G -cpu cortex-a72 -drive file=arm.img,format=raw