Skip to content

Instantly share code, notes, and snippets.

@orzklv
Created November 8, 2025 11:52
Show Gist options
  • Save orzklv/1eda1551c00e6c80e07436aa7da62195 to your computer and use it in GitHub Desktop.
Save orzklv/1eda1551c00e6c80e07436aa7da62195 to your computer and use it in GitHub Desktop.
Fetch and create latest MacOS Installer
# Source: https://unboundplanet.com/nova/the-cleanest-macos-tahoe-macos-26-mac-hackintosh-vm/
# List all avialable installers
softwareupdate --list-full-installers
# Fetch the latest installer
softwareupdate --fetch-full-installer --full-installer-version 26.0.1
# Check if installer has been fetched
ls -lh /Applications | grep -i "tahoe"
# Open it with highlight
mdls -name kMDItemVersion /Applications/Install\ macOS\ Tahoe.app
# List all mounted disks
diskutil list
# Format a disk before flashing
diskutil eraseDisk JHFS+ TahoeUSB GPT /dev/diskX
# Flash installer to flash drive
sudo /Applications/Install\ macOS\ Tahoe.app/Contents/Resources/createinstallmedia --volume /Volumes/TahoeUSB --nointeraction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment