Skip to content

Instantly share code, notes, and snippets.

@rrgrs
Last active April 22, 2021 12:02
Show Gist options
  • Save rrgrs/9258511 to your computer and use it in GitHub Desktop.
Save rrgrs/9258511 to your computer and use it in GitHub Desktop.
installs brew, virtualbox, and vagrant in osx
if ! type "brew" > /dev/null; then
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)";
fi
brew cask install vagrant;
brew cask install virtualbox;
@acoravos
Copy link

Thanks!

@cfphpflex
Copy link

thanks
worked for me

@tomersh
Copy link

tomersh commented Aug 16, 2017

brew-cask -> brew-cask-completion

@valter-silva-au
Copy link

This is perfect! Thank you!

@sbolel
Copy link

sbolel commented Nov 26, 2017

Note: as of Homebrew-Cask version 0.9.5, cask is a subcommand built into brew -- you don't need to do anything extra to get cask. See the Homebrew-Cask/usage documentation for more info.

The revised installation script that you'd use today to install homebrew, cask, and vagrant/virtualbox is:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew cask install vagrant
brew cask install virtualbox

@mycahp
Copy link

mycahp commented Dec 11, 2017

If the install fails on High Sierra, go to System Preferences -> Security and Privacy and allow Oracle to install applications.

@BeauBouchard
Copy link

If you are running macOS High Sierra you may run into an issue, which is outlined here:
Homebrew/homebrew-cask#39369

@jimmyahacker
Copy link

Thanks a lot for sharing!

@akashgoel1197
Copy link

Thanks a lot it worked for me!

@yeygeni
Copy link

yeygeni commented Jul 31, 2018

Thanks a lot. it worked for me!

@rrgrs
Copy link
Author

rrgrs commented Apr 16, 2019

updated to remove the cask installation

@sandyGanoti
Copy link

Thanks a lot! It worked for me too (after upgrading macOs.. disaster)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment