[10.14.5] softwareupdate -l not showing Command Line Tools

https://apple.stackexchange.com/questions/361727/how-do-i-install-beta-command-line-tools-using-softwareupdate-l-on-10-14-5


On a clean install of 10.14.5: Multiple reports of the beta version not working using a headless install: https://github.com/Homebrew/install/issues/206


This lead me to trying to manually do a headless install. I tried all of the various methods in How can I install the Command Line Tools completely from the command line? and none of them show anything but:

Mac-mini:~ anka$ /usr/sbin/softwareupdate -l | grep "\*"
 * MacBook Pro Supplemental Update-


Yet, I can xcode-select --install and it allows me to install it.

Anyone know how to get it to show up in softwareupdate -l so we can headless install it?

Posted on Jun 6, 2019 4:39 AM

Reply

Similar questions

4 replies

Jun 7, 2019 7:37 AM in response to H3lius

Oops, your second stackexchange URL unlike the first one had been 'prettified' and hence I did not spot this.


Your right this method does not work. (Anymore.) Sadly Apple seem to be removing 'features' as rapidly as they add them.


Two options that come to mind.


  1. Write a script which uses AppleScript to automate pressing the OK button, however whilst this might then be fully automated it will still require a GUI session to be running
  2. Download the installer package for the command line tools from developer.apple.com, this is a disk image containing an installer pkg, this could then be deployed to Macs automatically even if headless e.g. via Munki or Jamf



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.

[10.14.5] softwareupdate -l not showing Command Line Tools

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