Created
January 28, 2014 05:11
-
-
Save sheeley/8662588 to your computer and use it in GitHub Desktop.
Headless install Xcode command line tools, node, and homebrew.
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
#! /bin/bash | |
# install xcode clt | |
curl -o clt.dmg https://s3.amazonaws.com/OHSNAP/command_line_tools_os_x_mavericks_for_xcode__late_october_2013.dmg | |
hdiutil attach clt.dmg | |
sudo installer -pkg /Volumes/Command\ Line\ Developer\ Tools/Command\ Line\ Tools\ \(OS\ X\ 10.9\).pkg -target / | |
# install node | |
curl -o node.pkg http://nodejs.org/dist/v0.10.25/node-v0.10.25.pkg | |
sudo installer -pkg node.pkg -target / | |
# install homebrew | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it looks like your dmg download path is now invalid. I couldn't find it so I worked around it by scp ing into the vagrant box