I am a newbie of Mac user. I can see there are gcc
, git
, etc in the "/usr/bin
" folder. But when I want to use them, it prompts like this:
MacBook-Pro:~ nan$ git
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
MacBook-Pro:~ nan$ gcc
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
Does it mean I must install xcode
to use gcc
or git
, thanks very much in advance!
/usr/bin/git
callsxcode-select
which gives the error, so/usr/bin/git
may be just a wrapper that selects from installed developer tools versions. See FILES section of developer.apple.com/library/mac/documentation/Darwin/Reference/… – jingyu9575 Dec 13 '14 at 14:11