How to install macOS from an InstallAssistant.pkg file

InstallAssistant.pkg is the full macOS installer straight from Apple. Open it and your Mac gets the installer app, ready to upgrade this Mac or to build a bootable USB drive for another one. This guide covers both.

Updated


Back up your Mac with Time Machine before you start. A normal upgrade keeps your files, but a failed install or an erase does not.

What the PKG file does

Apple ships macOS updates through the App Store and Software Update, and both hand you a small stub that downloads the rest. InstallAssistant.pkg skips that. It holds the whole installer in one file, so you can keep a copy, move it between Macs, and install without re-downloading.

The package does not install macOS by itself. It places an app such as Install macOS Golden Gate in your Applications folder. You then open that app, or use it to build a bootable drive.

Before you start

Step 1: Download the PKG

  1. Open the macOS full installer (PKG) list and pick your version: macOS 27, macOS 26, or an older release.
  2. Choose a build and click the download link. The file comes from Apple's servers. Rows marked “Link expired” no longer download.
  3. Optional: confirm the file. Open Terminal and run the command below, then compare the result with the SHA-1 shown under the build.
    shasum -a 1 ~/Downloads/InstallAssistant.pkg
    A match means you hold the exact file Apple posted.

Step 2: Unpack it

  1. Double-click InstallAssistant.pkg in Downloads. The Installer app opens. The macOS Installer window opened from InstallAssistant.pkg.
  2. Click Continue through the screens and accept the license. Click Install.
  3. Enter your administrator password when asked.
  4. Wait until the Installer says the installation was successful. Open Finder > Go > Applications. You will see an app named Install macOS …, the version name in place of the dots.

Beta builds usually include “beta” in the app name. Keep that in mind for the Terminal command in step 3B.

Step 3A: Upgrade this Mac

Pick this path if you only want to update the Mac in front of you.

  1. Open the Install macOS app from Applications.
  2. Click Continue, accept the license, and choose your startup disk. The Install macOS app welcome screen with the Continue button.
  3. Enter your password. The Mac restarts and shows a progress bar. Do not close the lid or unplug the power. The upgrade takes 30 to 60 minutes and restarts several times.
  4. Sign in when the setup screens appear. Your files and apps stay in place.

Want to try a beta without touching your main system? Install it on a separate volume instead.

Step 3B: Make a bootable USB drive

Use a bootable drive to install on several Macs, to install without re-downloading, or to erase a Mac and start clean. Apple's own instructions for this are in Create a bootable installer for macOS.

  1. Plug the USB drive into your Mac. The next step erases it, so move off anything you want to keep.
  2. Rename the drive to MyVolume. In Finder, select the drive in the sidebar, press Return, and type the new name.
  3. Open Terminal from Applications > Utilities.
  4. Type sudo with a trailing space, but do not press Return yet.
  5. In Finder, right-click the Install macOS app and choose Show Package Contents. Open Contents > Resources and drag the file named createinstallmedia into the Terminal window. Terminal fills in the full path, which saves you from typing the app name (and from mistakes with beta names).
  6. Type a space, then --volume /Volumes/MyVolume. For macOS Golden Gate 27, the finished command looks like this:
    sudo /Applications/Install\ macOS\ Golden\ Gate.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
  7. Press Return and enter your administrator password. Terminal shows no characters as you type, which is normal.
  8. Type Y to confirm the erase and press Return. If Terminal asks for access to a removable volume, click OK.
  9. Wait for the message Install media now available at “/Volumes/Install macOS …”. Quit Terminal and eject the drive.

Older versions work the same way with a different app name. Tahoe uses Install\ macOS\ Tahoe.app, Sequoia uses Install\ macOS\ Sequoia.app, and Big Sur uses Install\ macOS\ Big\ Sur.app. OS X El Capitan and Macs running Sierra 10.12.6 or earlier also need --applicationpath followed by the installer's path.

Step 4: Start a Mac from the USB drive

Connect the Mac to the internet and plug in the drive. Then follow the steps for your chip. Not sure which you have? Open the Apple menu and choose About This Mac.

Mac with Apple silicon

  1. Shut down the Mac.
  2. Press and hold the power button until the screen says “Loading startup options”.
  3. Choose the installer drive and click Continue.
  4. Follow the on-screen steps in the macOS installer.

Mac with an Intel processor

  1. Shut down the Mac.
  2. Turn it on and hold Option (Alt) right away.
  3. Release the key when the list of bootable drives appears. Select the installer drive and press Return. The Intel Mac Startup Manager listing the bootable installer drive.
  4. Choose a language if asked, pick Install macOS in the Utilities window, and click Continue.

On an Intel Mac with the Apple T2 chip, the drive may not appear. Open Startup Security Utility from Recovery and allow booting from external media.

To wipe the Mac first, choose Disk Utility in the Utilities window, erase the startup disk, quit Disk Utility, and then choose Install macOS.

Install on a separate volume (keep your current macOS)

A beta can break apps you rely on. To keep your current macOS untouched, install the new version on its own APFS volume and switch between the two at startup. The new volume shares free space with the rest of the disk, so you do not need to repartition.

  1. Open Disk Utility from Applications > Utilities.
  2. Select your internal disk's volume in the sidebar, then click + (Add Volume) in the toolbar, or choose Edit > Add APFS Volume.
  3. Type a name, such as macOS Golden Gate, leave the format on APFS, and click Add. Disk Utility showing the Add APFS volume to container dialog with the name macOS Golden Gate and the APFS format.
  4. Open the Install macOS app and click Continue. On the disk screen, click Show All Disks… and select the new volume instead of Macintosh HD. The macOS 27 Golden Gate installer asking which disk to use, with the new macOS Golden Gate volume selected next to Macintosh HD.
  5. Click Continue and follow the prompts. The Mac restarts into the new volume and runs the setup screens.

To return to your old system, open System Settings > General > Startup Disk and pick Macintosh HD. You can also hold the power button (Apple silicon) or Option (Intel) at startup and choose the volume there. To remove the beta later, delete its volume in Disk Utility.

Troubleshooting

“This copy of the Install macOS application is damaged”
Delete the app, download the PKG again, and check the SHA-1 hash. Make sure the Mac's date and time are correct, since a wrong clock breaks certificate checks.
“command not found” or “does not appear to be a valid installer”
The path is wrong or the app is not in Applications. Use the drag method from step 3B, and confirm the app sits directly in Applications, not in a subfolder.
“Not enough space” during the PKG install
Free more disk space, then run the package again. You need roughly double the PKG size.
The USB drive does not show at startup
Plug it directly into the Mac instead of a hub. Try another port. Check that the install media message appeared in Terminal.
A circle with a line through it at startup
The macOS version does not support this Mac. Check your model on the macOS versions page.

FAQ

Can I install InstallAssistant.pkg on Windows or an iPhone?

No. The package only runs on a Mac. It unpacks the macOS installer app into your Applications folder, and that app needs macOS to open.

How much free space do I need?

Leave at least twice the size of the PKG free. The package is about 13 to 18 GB, and macOS unpacks it into a second app of similar size. The bootable USB drive needs 16 GB or more, and 32 GB works for every recent version.

Does the PKG installer erase my Mac?

No. Opening the installer app upgrades macOS and keeps your files and apps. Making a bootable USB drive erases only the USB drive. Booting from that drive and choosing Erase Disk wipes the Mac, so back up first.

Can I go back to an older macOS with the PKG?

Not by installing over the current system. To downgrade, boot from a bootable installer of the older version, erase the Mac's startup disk, and install from scratch. Apple silicon Macs cannot run versions older than the one they shipped with.

The installer says it is damaged or not a valid installer. What now?

Delete the app, download the PKG again, and compare its SHA-1 hash with the one listed on the download page. A mismatch means the file broke during download. An expired Apple certificate on very old installers can cause the same message.

Related guides