If you have the official .app file from the App Store and specifically need a DMG for a virtual machine or Hackintosh, follow these steps in Terminal:
To download macOS High Sierra 10.13.6 as a DMG file, you must first understand that Apple officially distributes this version primarily through the Mac App Store as an .app file, not a direct DMG. However, there are several methods to obtain the full installer or convert it for your needs. 1. Official Download via the Mac App Store download macos high sierra 1013 6 dmg file link
hdiutil detach /Volumes/Install\ macOS\ High\ Sierra hdiutil convert /tmp/HighSierra.cdr.dmg -format UDTO -o /tmp/HighSierra.iso 4. Alternative Direct Download Links (Third-Party) If you have the official
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build Official Download via the Mac App Store hdiutil
This is the safest method. You will receive the "Install macOS High Sierra.app" in your Applications folder, which you can then use to create your own bootable DMG.