Force mac to show at least two updates using softwareupdate -l

terminal

Basically I need the command softwareupdate -l to show at least 2 updates. I been downloading older versions of Xcode and Xcode command-line tools and so far I only managed softwareupdate -l to show 1 update required (Xcode command-line tools) and I need at least 2.

MacOS version: 10.15 Beta (19A471t).

Any help would be really appreciated!

Best Answer

I'm pretty sure that softwareupdate is only going to show you the most recent update. It wants to update you from what you have to what's current, and it doesn't show other updates that might have happened in between.

If you want to download past versions of Xcode, you should go to Apple's developer site, where every version of Xcode since version 3.0 in 2007 is available. If you have a developer account, you can get them at http://developer.apple.com/download/more/. If you don't currently have a developer account, you can sign up for free at https://developer.apple.com/programs/