[SOLVED] The provider ‘vmware_desktop’ could not be found on macos m1

Issue

This Content is from Stack Overflow. Question asked by Francesco Iapicca

  • install both vagrant and vmware via homebrew
brew install --cask vagrant
brew install --cask vmware-fusion
  • verify that everything is installed
➜  ~ vmrun -T ws list

Total running VMs: 0
➜  ~ vagrant -v

Vagrant 2.3.0
  • set the default provider as vmware_desktop in my .zshrc (and “sourced” it)
export VAGRANT_DEFAULT_PROVIDER=vmware_desktop
vagrant init hashicorp/bionic64
vagrant box add hashicorp/bionic64

and select the option 3) vmware_desktop

  • finally run vagrant up from the initialised folder and observe the error
The provider 'vmware_desktop' could not be found, but was requested to
back the machine 'default'. Please use a provider that exists.

Vagrant knows about the following providers: docker, hyperv, virtualbox

did I make some mistake in the setup



Solution

You miss to install the Vagrant VMWare plugin

First you need to install Vagrant VMware Utility

Then you can install the plugin

vagrant plugin install vagrant-vmware-desktop


This Question was asked in StackOverflow by Francesco Iapicca and Answered by Frederic Henri It is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?