VirtualBox only supports the x86 platform, so the default installation instructions for Vagrant does not work on Apple silicon. Thankfully Vagrant has a VMWare Provider (more on providers here), and so if I can get VMWare running on my M1 MacBook, I should be able to run Vagrant as well!
These are my notes during figuring this out.
We are in luck, as VMWare released this just a few weeks ago.
- See their blog entry
- register on their site to get an account
- download and install
- Followed instructions https://www.vagrantup.com/docs/providers/vmware
- Installed Vagrant vmware Utility
vagrant init hashicorp/bionic64
$ vagrant up --provider vmware_desktop
Vagrant encountered an unexpected communications error with the
Vagrant VMware Utility driver. Please try to run the command
again. If this error persists, please contact [email protected]
@fatso83 https://osxdaily.com/2022/10/22/you-can-now-run-virtualbox-on-apple-silicon-m1-m2/ you can download the dev version from the website, in my case I recently move to a M1 chip, I use this with vagrant all the time but I’m currently checking if this works