Created
March 2, 2013 19:26
-
-
Save DamianZaremba/5072759 to your computer and use it in GitHub Desktop.
Install command line tools from the command line on OSX
This file contains hidden or 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
Damians-Mac:~ damian$ hdid xcode46cltools_10_86938131a.dmg | |
/dev/disk2 Apple_partition_scheme | |
/dev/disk2s1 Apple_partition_map | |
/dev/disk2s2 Apple_HFS /Volumes/Command Line Tools (Lion) | |
Damians-Mac:~ damian$ sudo installer -pkg /Volumes/Command\ Line\ Tools\ \(Mountain\ Lion\)/Command\ Line\ Tools\ \(Mountain\ Lion\).mpkg -target / | |
Damians-Mac:~ damian$ umount /Volumes/Command\ Line\ Tools\ \(Mountain\ Lion\) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment