I'm a php developer, usually with the laravel framework. I want to get rid of Xcode because I'm tired of dedicating 9 gigabytes of storage to an application that I don't use at all.

I seem to remember that when setting up git, homebrew, or ssh, that one of these applications has dependencies which are contained inside of Xcode.

Can I delete Xcode? What will doing so break? How can I delete Xcode gracefully?


Yes, you can, as long as you install the command line tools.

You can then install the command line tools with xcode-select --install

For more information (from the iOS Dev Library, but applicable in this case), see Technical Note TN2339

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .