Create and configure lightweight, reproducible, and portable development environments. Vagrant is an amazing tool for managing virtual machines via a simple to use command line interface.
Vagrant uses Virtualbox to manage the virtual dependencies. You can directly download virtualbox and install or use homebrew for it.
$ brew cask install virtualbox
Now install Vagrant either from the website or use homebrew for installing it.
$ brew cask install vagrant
Run the Vagrant provisioning script.
curl -sL https://git.io/vPK0g | bash
===
For more help see Vagrant Documentation
current builds confirmed working with Vagrant 2