Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Generate bootable macOS installer ISO or DMG images directly from Apple servers using GitHub Actions - no Mac required.

License

Notifications You must be signed in to change notification settings

LongQT-sea/macos-iso-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

macOS Installer ISO Builder via GitHub Actions – no Mac required

Generate bootable macOS installer ISO or DMG images directly from Apple’s servers via GitHub Actions. Includes intelligent size optimization to produce the smallest possible installer images.

Supported formats:

  • ISO – True DVD format compatible with Proxmox VE, QEMU, VirtualBox, and VMware
  • DMG – For creating bootable macOS installer USB drive on Windows/Linux with dd, BalenaEtcher, Rufus

Workflows available:

  • macOS Recovery ISO (Recommended) – Lightweight recovery image (build takes ~2-5 min) • Best for virtualization
  • macOS Full Installer – Complete offline installer (build takes ~20-60 min, 5-18GB) • Best for offline use

Important

  • Download the macOS Recovery ISO from the Releases page — it’s all you need to install macOS in a VM.
  • If you really need the full macOS installer, build it inside your macOS VM using the Create_macOS_ISO.command script.
  • GitHub-hosted runners are a free public resource — please use them responsibly.

Usage

  1. Fork this repository.

  2. Go to the Actions tab in your forked repository.

  3. Click the green button "I understand my workflows, go ahead and enable them".

  4. Select the "Build macOS Installer ISO/DMG image" workflow.

  5. Click the "Run workflow" button.

  6. Configure the workflow inputs:

    • macOS version – Choose a version (Sequoia, Sonoma, etc.).
    • Image format – Choose iso for virtual machines or dmg for bootable USB drives.
    • Specific version (optional) – Enter a version like 15.6.1, or leave blank for the latest.
  7. Click the green button "Run workflow" to start the build.

  8. Wait for the workflow to complete (this may take 20-60 minutes).

  9. Open the completed workflow run and scroll to the Artifacts section.

  10. Download the artifact (e.g., macOS-Sequoia-15.6.1-ISO).

Tip

Enable Cloudflare WARP for faster downloads.

  1. Extract the ZIP file to get your .iso or .dmg file.

Note

By default, artifacts are kept for 5 days. You can change this in the workflow YAML file.

Tip


Legal Notice

This tool downloads macOS images directly from Apple's servers. Users are responsible for complying with Apple's Software License Agreement.

About

Generate bootable macOS installer ISO or DMG images directly from Apple servers using GitHub Actions - no Mac required.

Topics

Resources

License

Stars

Watchers

Forks