To install vagrant with the vmware plugin, follow these steps:
- Download VMware Fusion 12 Player for macOS
- Use license key from your myVMware account and install the application
- Allow VMware Fusion to control system events within the app when prompted
- Enable the accessibility preference at System Preferences > Security & Privacy > Accessibility > VMware Fusion
- Install vagrant:
brew tap hashicorp/tap && brew install vagrant
- Find the box you want to install from Vagrant Cloud or my boxes on Github
- Install the [vagrant-vmware-desktop plugin][5]:
vagrant plugin install vagrant-vmware-desktop
- Install the [VMware utility][6] for vagrant:
brew install --cask vagrant-vmware-utility
- Navigate to the folder containing the Vagrantfile and run
vagrant up
. The command might fail on the first run, so try running the same command again. - Run
vagrant ssh
to login to the vagrant box. Profit!
Note: On macOS 11.x, using custom network settings does not work! Take a look at the [Known Issues][7] section for more info.
[5]: vagrant plugin install vagrant-vmware-desktop [6]: https://www.vagrantup.com/docs/providers/vmware/vagrant-vmware-utility [7]: https://www.vagrantup.com/docs/providers/vmware/known-issues