Is there a way to script and download the Mojave installer without signing in to the App Store?

Something other than opening or clicking a url that points to the installer on the Mac App Store would be ideal.

  • 1
    you will still have to provide your credentials. – Ruskes Sep 24 '18 at 22:12
  • 3
    You'll be amazed by a very nice python script that I've come across that does this unexpected thing @Buscar웃 - hang tight... – bmike Sep 24 '18 at 22:15
  • 3
    how about this github.com/maxschlapfer/MacAdminHelpers/tree/master/… – Ruskes Sep 24 '18 at 22:18
  • 1
    I'd not seen that shell script @Buscar웃 - it seems to repackage an app you already downloaded, but it's coming from the same community of Macintosh administrators that have collaborated to make the munki tools like the python script I asked this question so I could share an answer here. Thanks - I hadn't seen that +1 – bmike Sep 24 '18 at 22:25

There is a very well documented open source script that reads the software update catalogs and parses them for the major macOS installer components, prompts you which build and version to download and will then commence to download each portion to your filesystem and then build an installer application or image based on the options you choose.

The python script named installinstallmacos.py has this description:

A tool to download the parts for an Install macOS app from Apple's softwareupdate servers and install a functioning Install macOS app onto an empty disk image

This tool is updated for macOS 10.15 Catalina.

  • I have to do sudo python ./installinstallmacos.py right? But I get ImportError: No module named xattr It would be very nice if you could give a working example. edit: turns out I have to install pip install xattr ok now it says could not find a default catalog url for this os version I'm on El capitan. – Shayan Oct 22 '19 at 12:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .