AJRV7 wrote:
Hello,
I cancelled the heavy xCode App since I finally it turned out that I did not need it, and removed all files from the Library (the Developer files). According to Clean My Mac I have NO junk from xCode. However I keep on having this "Command Line Tools update" (right now 2 of them) which I do not want at all. I am running Monterey 12.3.1 on a Macbook Pro. If anyone knows how to cancel those updates and prevent them to appear again I would be REALLY GRATEFUL
https://discussions.apple.com/content/attachment/02c30ec1-03d8-4f79-854f-926249eb69e1
Uninstalling Xcode Developer Tools
To uninstall Xcode developer tools on the boot volume along with the <Xcode> directory, from a Terminal window type:
sudo <Xcode>/Library/uninstall-devtools --mode=all
To remove the underlying developer content on the boot volume, but leave the <Xcode> directory and supporting files untouched, from a Terminal window type:
sudo <Xcode>/Library/uninstall-devtools --mode=systemsupport
To just remove the UNIX development support and command line tools on the boot volume, but leave the <Xcode> directory and supporting files untouched, from a Terminal window type:
sudo <Xcode>/Library/uninstall-devtools --mode=unixdev
Finally, to just uninstall the <Xcode> directory you can simply drag it to the trash, or from a Terminal window type:
sudo <Xcode>/Library/uninstall-devtools --mode=xcodedir
NOTE: The uninstaller that ships with previous versions of the Xcode developer tools will not clean everything off of your system properly. You should use the one installed with these Xcode developer tools.