Created
May 7, 2026 19:04
-
-
Save b0gdanw/07e78df8c6be60c379a5f7816d1d353b to your computer and use it in GitHub Desktop.
Get_Rosetta_links_from_Apple.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Get Rosetta links for all macOS builds | |
| curl -sfL "https://swscan.apple.com/content/catalogs/others/index-rosettaupdateauto-1.sucatalog" | plutil -p - | awk -F'"' '/"BuildVersion" =>/ {build=$4} /"URL" => ".*RosettaUpdateAuto[.]pkg"/ && build != "" {print build; print $4 ORS; build=""}' | |
| #Get Rosetta for your macOS build | |
| curl -sfL "https://swscan.apple.com/content/catalogs/others/index-rosettaupdateauto-1.sucatalog" | plutil -p - | awk -F'"' '/"BuildVersion" =>/ {build=$4} /"URL" => ".*RosettaUpdateAuto[.]pkg"/ && build != "" {print build; print $4 ORS; build=""}' | grep -A 1 "$(sw_vers -buildVersion)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment