Skip to content

Instantly share code, notes, and snippets.

View RishonDev's full-sized avatar
🔴
Busy with school

Rishon Jonathan R RishonDev

🔴
Busy with school
  • India
View GitHub Profile
@andrewodri
andrewodri / README.md
Last active December 21, 2024 15:55
Download specific macOS version and create USB installer from the CLI

I always seem to forget how to download the macOS version I need by the time I need it again, so here is a quick and nasty guide on how to download a properly signed *.dmg file to build a USB installer.

If you don't want to download the tool or monkey around with permissions, give this a shot: (Provided you are dumb enough to pipe unknown code off the internet in sudo python of course):

  • sudo curl -s https://raw.githubusercontent.com/grahampugh/macadmin-scripts/master/installinstallmacos.py | sudo python - --help

If you're downloading an installer for your current machine, do the following: