完全卸载xcode的命令

Uninstalling Xcode Developer Tools

To uninstall Xcode developer tools on the boot volume along with the Developer directory, from a Terminal window type:

$ sudo Developer /Library/uninstall-devtools --mode=all

To remove the underlying developer content on the boot volume, but leave the directory and supporting files untouched, from a Terminal window type:

$ sudo Developer /Library/uninstall-devtools --mode=systemsupport

To just remove the UNIX development support on the boot volume, but leave the directory and supporting files untouched, from a Terminal window type:

$ sudo Developer /Library/uninstall-devtools --mode=unixdev

Finally, to just uninstall the directory you can simply drag it to the trash, or from a Terminal window type:

$ sudo Developer /Library/uninstall-devtools --mode=xcodedir


我的xcode安装在Developer 下面

你可能感兴趣的:(mac)