Xcode Command Line Tools without Xcode

Xcode Command Line Tools without Xcode

Run xcode-select --install in Terminal. It will be about ~160mb instead of 5gb.

xcode-select -p will return which command line tools path it’s using.

/Library/Developer/CommandLineTools => xcode-select --install
/Applications/Xcode.app/Contents/Developer => Xcode from Mac App Store.

You can switch with xcode-select -s <path>

Leave a Reply

Your email address will not be published. Required fields are marked *