3 ms·
Open the Xcode preferences and install the command line tools from the 'Components' part of the 'Downloads' section, although it does say this: Before installi
by anon1385 14y ago
Open the Xcode preferences and install the command line tools from the 'Components' part of the 'Downloads' section, although it does say this:
Before installing, note that from within Terminal you can use the XCRUN tool to launch compilers and other tools embedded within the Xcode application. Use the XCODE-SELECT tool to define which version of Xcode is active. Type "man xcrun" from within Terminal to find out more.
Downloading this package will install copies of the core command line tools and system headers into system folders, including the LLVM compiler, linker, and build tools.
- alanctgardner2 14y agoThanks, that was a real RTFM moment.
- jonhendry 14y agoYes, if you use the Terminal and cd to /Applications/Xcode.app/Contents/Developer, you'll see drwxr-xr-x 3 root wheel 102 Jan 25 14:52 Documentation drwxr-xr-x 7 root wheel 238 Jan 29 13:33 Library drwxr-xr-x 7 root wheel 238 Jan 29 13:11 Makefiles drwxr-xr-x 5 root wheel 170 Jan 25 14:53 Platforms drwxr-xr-x 3 root wheel 102 Jan 25 14:54 Toolchains drwxr-xr-x 22 root wheel 748 Jan 29 13:12 Tools drwxr-xr-x 7 root wheel 238 Jan 25 14:54 usr Inside ./usr/bin is gcc, git, etc. Basically the developer tools used to live by default in /Developer at the root of the filesystem, now the Developer directory is inside Xcode.
- mhenr18 14y agoAnd if you install the command line tools they live in /usr/bin.