在OSX 10.15.2 Catalina上安装Vagrant 2.2.6

在OSX 10.15.2 Catalina上安装Vagrant 2.2.6,vagrant,virtualbox,Vagrant,Virtualbox,如何在OSX 10.15.2上安装vagrant 安装virtualbox和vagrant后: brew cask install virtualbox # installs version 6.1 brew cask install vagrant # installs version 2.2.6 我在启动vagrant时遇到以下错误: The provider 'virtualbox' that was requested to back the machine 'defau

如何在OSX 10.15.2上安装vagrant

安装virtualbox和vagrant后:

brew cask install virtualbox   # installs version 6.1
brew cask install vagrant      # installs version 2.2.6
我在启动vagrant时遇到以下错误:

The provider 'virtualbox' that was requested to back the machine
'default' is reporting that it isn't usable on this system. The
reason is shown below:

Vagrant has detected that you have a version of VirtualBox installed
that is not supported by this version of Vagrant. Please install one of
the supported versions listed below to use Vagrant:

4.0, 4.1, 4.2, 4.3, 5.0, 5.1, 5.2, 6.0

A Vagrant update may also be available that adds support for the version
you specified. Please check www.vagrantup.com/downloads.html to download
the latest version.

Vagrant 2.2.6不支持VirtualBox 6.1。您可以使用旧版本的VirtualBox cask脚本安装VirtualBox 6.0(受支持),如下所示:

brew cask install https://raw.githubusercontent.com/Homebrew/homebrew-cask/7e703e0466a463fe26ab4e253e28baa9c20d5f36/Casks/virtualbox.rb

Vagrant 2.2.7将包括对virtualbox 6.1的支持,但在撰写本文时尚未发布:

有没有办法在mac上安装Vagrant 2.2.5?