Command Line Tools for Xcode update fails to install

Hi,

I am running Tahoe 26.1 [25878] on MacBook M4 Pro. I have an update called "command line tools for Xcode 26.1" that does not install upon pressing "Update Now" button.

It shows the agreement window, after which it gives an error that says: Installation failed. An error occurred while installing the selected updates.

How to remove or install the update so that it doesn't constantly pop up in the software update?


Thanks

MacBook Pro 16″, macOS 26.1

Posted on Nov 15, 2025 7:24 PM

Reply
4 replies

Nov 16, 2025 4:21 AM in response to DF724

Check if there is an existing installation of Command Line tools present. You can quickly test that by pressing shift+cmd+G in the Finder and entering the following path with a return:

/Library/Developer


If present, select the CommandLineTools folder and drag to the Trash. It will want your administrator's password to do that. Empty the Trash. Now, just for grins, completely shut your Mac down, and then restart it.


Back at System Settings > General > Software Update, try and install the Command Line Tools again. It will request your administrator password to proceed with the 4GB installation and should be version 26.1.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Command Line Tools for Xcode update fails to install

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.