Congratulations :-) I sit at MacStudio 2023 (macOS 14.0) machine right now (tiny but powerful box with 12xM2Max ARM64 CPU + 32GB RAM) for some specific tasks so I can beta test Your instructions :-)
By default I use FreeBSD (BSD Unix family)... and macOS is also kind of BSD (+MACH).. so here you have (Open-Source) Ports too with MacPorts or Homebrew (brew command).. no need to use VM at all :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info