Software update in Catalina has the ability to download full installers
Will download the latest ‘Install macOS’ application to this Mac’s
/Applications folder. This is extremely useful for many admin tasks.
softwareupdate --fetch-full-installer --full-installer-version 10.14.6
--fetch-full-installer flag has a sub-flag:
--full-installer-version which allows you to download a specific version.