Use this command to fetch a specific version: softwareupdate --fetch-full-installer --full-installer-version [number] (Example: 15.7.4 for Sequoia) .
hdiutil create -o /tmp/macOS -size 16G -layout SPUD -fs HFS+J descargar iso mac os
hdiutil detach /Volumes/Install\ macOS\ [Name] Use this command to fetch a specific version: