if ! type "brew" > /dev/null; then
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)";
fi
brew install brew-cask-completion;
brew cask install vagrant;
brew cask install virtualbox;
转载于:https://my.oschina.net/u/1050922/blog/2250376