Last active
February 21, 2025 05:41
-
-
Save rrgrs/9258511 to your computer and use it in GitHub Desktop.
installs brew, virtualbox, and vagrant in osx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
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
If the install fails on High Sierra, go to System Preferences -> Security and Privacy and allow Oracle to install applications.
If you are running macOS High Sierra you may run into an issue, which is outlined here:
Homebrew/homebrew-cask#39369
Thanks a lot for sharing!
Thanks a lot it worked for me!
Thanks a lot. it worked for me!
updated to remove the cask installation
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
This is perfect! Thank you!