Up to OJB's Mac Tips List
Downloading Installers from Terminal
Downloading Installers for Mac OS from TerminalTo download the latest macOS installer available for your Mac from the Terminal use the following command:softwareupdate --fetch-full-installerYou can also download specific installer versions by using the following command, replacing the text VERSION with version number in the form 00.00.0:softwareupdate --fetch-full-installer --full-installer-version VERSIONFor example, to get macOS 11.3.1 use this:softwareupdate --fetch-full-installer --full-installer-version 11.3.1