Adam_G
Adam_G

Reputation: 7879

Uninstall xcode but keep other dependencies

I do not work on iOS or OSX apps, but I do a fair amount of other development. Therefore, I need to keep things like python, gcc, etc. How can I uninstall the xcode app without removing these other things?

Upvotes: 6

Views: 1882

Answers (1)

Peter Hornsby
Peter Hornsby

Reputation: 4266

How can I uninstall the xcode app without removing these other things?

First point to note is that python comes pre-installed on your mac and can be interacted with independently of Xcode.

  1. You delete the Xcode application from your applications folder (/Applications) and leave the developer tools in place. This would leave the command line tools in place, you could call this a bit of a hack.

location of command line tools:

/Library/Developer/CommandLineTools/usr/bin/
  1. Completely remove Xcode and command line tools and use a package manager tool like HomeBrew to install the tools you require.

Upvotes: 8

Related Questions