Grab the latest version of Safari from Apple

Over on the Apple Discussions, there’s a quick hint to find and download the latest version of Safari. It seems that Apple are no longer offering standalone installers for Safari, instead telling people to get it from Software Update instead.

The command below uses grep to find the software update catalog url from the Software Update frameworks, passes this to curl to download and then greps the result for Safari.

You can then use curl again to download the .pkg installer for Safari.

curl $(strings  /System/Library/PrivateFrameworks/SoftwareUpdate.framework/SoftwareUpdate |
 grep http://swscan) | 
grep Safari6
This article was posted by Kai Howells. If you liked this content and have any technical work in the Melbourne area, say hello via my contact form or give me a call on 0419 361 653 - I cover most of the greater Melbourne area and my rates are competitive.

One Response to Grab the latest version of Safari from Apple

  1. I found this worked a little better (if the backticks survive)…

    curl `strings /System/Library/PrivateFrameworks/SoftwareUpdate.framework/SoftwareUpdate | grep https://swscan` | grep Safari6

    Not when Apple changed their URLs to use https.

Leave a Reply

Your email address will not be published. Required fields are marked *