Create and configure lightweight, reproducible, and portable development environments. Vagrant is a tool for managing virtual machines via a simple to use command line interface.
Installation
Vagrant uses Virtualbox to manage the virtual dependencies. You can directly download virtualbox and install or use Homebrew for it. Notice that macOS High Sierra 10.13 introduces a new feature that requires user approval before loading new third-party kernel extensions. In case of failure follow the instructions here.
$ brew cask install virtualbox
Now install Vagrant either from the website or use Homebrew for installing it.
$ brew cask install vagrant
Vagrant-Manager helps you manage all your virtual machines in one place directly from the menu bar.
$ brew cask install vagrant-manager
Configuration
configuration file:
~/vagrant/Vagrantfile
Usage
Add the Vagrant box you want to use. We'll use Ubuntu 12.04 for the following example.