![]() The big benefit is for me that I can do it from a terminal (even ssh) and the installer do not show a UI-Pop-Window, which blocks me from use with remote terminal. I found out that Homebrew install the Xcode Command Line Tools as well. ![]() $ rm ~/Downloads/command_line_tools_for_osx_mountain_lion_april_2014.dmg I see no purpose keeping it around, but you can if you want. Unmount the dmg file $ hdiutil detach /Volumes/Command\ Line\ Tools\ \(Mountain\ Lion\)ĭelete the dmg file from the remote optional $ sudo installer -pkg Command\ Line\ Tools\ \(Mountain\ Lion\).mpkg -target / Here, installer must be run with sudo because this package needs to be installed on the root file system $ cd /Volumes/Command\ Line\ Tools\ \(Mountain\ Lion\) Here, I'm using hdiutil to mount the image $ hdiutil attach ~/Downloads/command_line_tools_for_osx_mountain_lion_april_2014.dmg ![]() In the following command, I'm using scp to securely copy the file from my local computer to the remote named remote $ scp ~/Downloads/command_line_tools_for_osx_mountain_lion_april_2014.dmg remote:Downloads/ If you don't have a free Apple developer account, register for oneĭownload the "Command Line Tools for Xcode" appropriate for your version of OSXįor me, that was "Command Line Tools (OS X Mountain Lion) for Xcode - April 2014" I recently had to install Xcode command line tools on Mountain Lion over SSH. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |