The outline is given in the steps below.
Enter the command given below to list available versions of macOS which can be download and installed on the host.
softwareupdate --list-full-installers
Below is the output from the Mac mini.
davidanderson@MyBigSur ~ % softwareupdate --list-full-installers
Finding available software
Software Update found the following full installers:
* Title: macOS Ventura, Version: 13.1, Size: 12217512421K
* Title: macOS Ventura, Version: 13.0.1, Size: 12151255443K
* Title: macOS Ventura, Version: 13.0, Size: 12151608300K
* Title: macOS Monterey, Version: 12.6.2, Size: 12395078361K
* Title: macOS Monterey, Version: 12.6.1, Size: 12399095056K
* Title: macOS Monterey, Version: 12.6, Size: 12394539947K
* Title: macOS Big Sur, Version: 11.7.2, Size: 12410170728K
* Title: macOS Big Sur, Version: 11.7.1, Size: 12410109410K
* Title: macOS Big Sur, Version: 11.7, Size: 12409605694K
* Title: macOS Big Sur, Version: 11.6.6, Size: 12412173576K
* Title: macOS Big Sur, Version: 11.6.5, Size: 12412317772K
* Title: macOS Big Sur, Version: 11.6.4, Size: 12439328867K
* Title: macOS Big Sur, Version: 11.6.3, Size: 12435122667K
* Title: macOS Big Sur, Version: 11.6.2, Size: 12433351292K
* Title: macOS Big Sur, Version: 11.6.1, Size: 12428472512K
* Title: macOS Big Sur, Version: 11.5.2, Size: 12440916552K
* Title: macOS Catalina, Version: 10.15.7, Size: 8248985973K
* Title: macOS Catalina, Version: 10.15.7, Size: 8248854894K
* Title: macOS Catalina, Version: 10.15.6, Size: 8248781171K
* Title: macOS Mojave, Version: 10.14.6, Size: 6038419486K
Note that macOS High Sierra is missing, which is expected since a 2018 Mac mini can not install this version of macOS.
Enter the command below to download the "Install macOS Big Sur" application to the "/Applications" folder.
softwareupdate --fetch-full-installer --full-installer-version 11.7.2
Note: I did not need to include sudo, however some websites have suggested this may be a requirement.
Use the "Install macOS Big Sur" application to create a Big Sur virtual machine client.
From the client, enter the command given below to list available versions of macOS which can be download on the client.
softwareupdate --list-full-installers
Below is the output from the virtual machine client.
dma@dmas-Mac ~ % softwareupdate --list-full-installers
Finding available software
Software Update found the following full installers:
* Title: macOS Ventura, Version: 13.1, Size: 12217512421K
* Title: macOS Ventura, Version: 13.0.1, Size: 12151255443K
* Title: macOS Ventura, Version: 13.0, Size: 12151608300K
* Title: macOS Monterey, Version: 12.6.2, Size: 12395078361K
* Title: macOS Monterey, Version: 12.6.1, Size: 12399095056K
* Title: macOS Monterey, Version: 12.6, Size: 12394539947K
* Title: macOS Big Sur, Version: 11.7.2, Size: 12410170728K
* Title: macOS Big Sur, Version: 11.7.1, Size: 12410109410K
* Title: macOS Big Sur, Version: 11.7, Size: 12409605694K
* Title: macOS Big Sur, Version: 11.6.6, Size: 12412173576K
* Title: macOS Big Sur, Version: 11.6.5, Size: 12412317772K
* Title: macOS Big Sur, Version: 11.6.4, Size: 12439328867K
* Title: macOS Big Sur, Version: 11.6.3, Size: 12435122667K
* Title: macOS Big Sur, Version: 11.6.2, Size: 12433351292K
* Title: macOS Big Sur, Version: 11.6.1, Size: 12428472512K
* Title: macOS Big Sur, Version: 11.5.2, Size: 12440916552K
* Title: macOS Catalina, Version: 10.15.7, Size: 8248985973K
* Title: macOS Catalina, Version: 10.15.7, Size: 8248196334K
* Title: macOS Catalina, Version: 10.15.7, Size: 8248854894K
* Title: macOS Catalina, Version: 10.15.6, Size: 8248781171K
* Title: macOS Catalina, Version: 10.15.6, Size: 8250022229K
* Title: macOS Catalina, Version: 10.15.5, Size: 8236829020K
* Title: macOS Catalina, Version: 10.15.4, Size: 8250718056K
* Title: macOS Catalina, Version: 10.15.3, Size: 8184371561K
* Title: macOS Mojave, Version: 10.14.6, Size: 6038419486K
* Title: macOS Mojave, Version: 10.14.5, Size: 6033811488K
* Title: macOS Mojave, Version: 10.14.4, Size: 6036269091K
* Title: macOS High Sierra, Version: 10.13.6, Size: 5221689433K
Note that macOS High Sierra is now included in the list.
Enter the command below to download the "Install macOS High Sierra" application to the "/Applications" folder on the client.
softwareupdate --fetch-full-installer --full-installer-version 10.13.6
Note: I did not need to include sudo, however some websites have suggested this may be a requirement.
Copy the "Install macOS High Sierra" application from the client to the host. This application can be used to do a clean install of macOS High Sierra in a virtual machine client.
(Optional) To reclaim space, shutdown and delete the macOS Big Sur virtual machine. I also found the was an approximately 13.1 GB macOS image file.iso file which could be deleted. This was the file created by Parallels, then used by Parallels to install macOS Big Sur.