Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uninstall xcode but keep other dependencies

Tags:

xcode

macos

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?

like image 800
Adam_G Avatar asked Jul 22 '15 22:07

Adam_G


1 Answers

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.
like image 130
Peter Hornsby Avatar answered Sep 20 '22 12:09

Peter Hornsby