Install macOS Catalina on Mac [Direct Download]

david

Apple has just dropped the new version of macOS, macOS Catalina, which was introduced back in June during the WWDC 2019 keynote. And like previous years, many users are looking for direct download links for macOS Catalina, rather than going the usual route via System Preferences or the Mac App Store (MAS).

Install macOS Catalina on Mac Direct Download

Apple’s system updates have greatly improved over time. And though you’re less likely to face issues (slow downloading speeds, unable to resume download, frequent disconnections, etc.) while downloading macOS Catalina this year, there’s no guarantee that they won’t happen at all.

Many users would still be looking for direct downloads for macOS Catalina, primarily for multi-threaded, faster downloading via download managers & accelerators, resume support for incomplete/interrupted downloads and many more reasons.

In this article, we’ll explore a way to download macOS Catalina directly from the Apple server instead of via the MAS, using your favorite web browser or a download accelerator.

Note: This post is specific to macOS Catalina direct download from Apple servers. For other macOS and OS X releases, check our earlier articles in this series.

Download and install macOS Catalina without MAS / System Preferences

Since macOS Catalina, OS updates are delivered through the Software Update menu in System Preferences. When you try to download macOS updates via MAS, you’re automatically redirected to the Software Update menu.

In macOS, when you click on the Update button, some package files are downloaded to your computer, and then processed by the Software Update utility, to convert them into an executable “.app” file. You cannot install macOS directly from the raw package files.

For this workaround, we’re going to directly download these raw packages from Apple server using a web browser or a suitable download accelerator. Then, we’ll configure the computer in such a way that Software Update processes the package files by fetching them from a local directory on your Mac, instead of downloading it again from the Apple Server.

macOS Catalina Direct Download

Step 1: Download the three “.pkg” files from the respective URLs given below.

macOS Catalina 10.15 (19A583) / October 7, 2019

  1. macOS Catalina InstallESDDmg.pkg file download URL: http://swcdn.apple.com/content/downloads/28/24/061-18881-A_TWBV6ZANYG/viuhikid1ijrd64vrdi2fhmd0ayiz5fpik/InstallESDDmg.pkg
  2. macOS Catalina RecoveryHDMetaDmg.pkg file download URL: http://swcdn.apple.com/content/downloads/28/24/061-18881-A_TWBV6ZANYG/viuhikid1ijrd64vrdi2fhmd0ayiz5fpik/RecoveryHDMetaDmg.pkg
  3. macOS Catalina InstallAssistantAuto.pkg file download URL: http://swcdn.apple.com/content/downloads/28/24/061-18881-A_TWBV6ZANYG/viuhikid1ijrd64vrdi2fhmd0ayiz5fpik/InstallAssistantAuto.pkg

Step 2: Configure your Mac so that Software Update looks for the macOS packages locally instead of from the Apple server.

To do this, you need to edit the hosts file on Mac to point the root domain of the download URLs (“swcdn.apple.com”) to localhost (“127.0.0.1”). The below instructions will guide you to modify the hosts file as required.

  1. Launch Terminal on your Mac from Launchpad or Applications list.
  2. Type in the following command: “sudo nano /etc/hosts”
  3. Provide the System Password when prompted. The hosts file is now open in editable mode within the Terminal window.
  4. Append the following line to the end of the file: “127.0.0.1       swcdn.apple.com”.
  5. Press control + X (^X), then Y and hit return to save the file and return to Terminal prompt.

From now on, any request issued for the particular root domain (swcdn.apple.com) from the Mac will be directed to localhost.

Note: Sometimes, you might need to flush the DNS cache for the changes to take effect. In that case, use the “sudo killall -HUP mDNSResponder” command to flush DNS cache.

Step 3: Place the package files in a certain relative path from the localhost root, to mimic the structure of their respective download URLs.

In this example, we’ll create a folder named “macos_local” on Desktop, and replicate the directory structure of the package URLs under the same. Once the relative path has been created, we’ll configure the localhost server to point to the “macos_local” directory on Desktop. Then, we’ll use macOS’ built-in SimpleHTTP server to convert the folder into a web server directory.

The below instructions will guide you through the setup process.

  1. Open Terminal from the Launchpad or Applications list.
  2. Type “cd Desktop” on the command line and hit return to enter the Desktop folder.
  3. Type “mkdir macos_local” and hit return to create the root directory of the same name on Desktop.
  4. Go to the newly created folder by typing “cd macos_local” and hitting return.
  5. Enter the following command to create the relative path for the .pkg files, inside the macos_local folder (Provide the admin password when requested):
    sudo mkdir -p ./content/downloads/28/24/061-18881-A_TWBV6ZANYG/viuhikid1ijrd64vrdi2fhmd0ayiz5fpik/
  6. Place the downloaded package files in their respective relative location (as per their URLs) within the macos_local folder on the Desktop. Click on Authenticate when prompted, and provide the system admin password.
  7. With macos_local as the present working directory in Terminal, execute the following command: “sudo python -m SimpleHTTPServer 80”. Provide the admin password and click on Allow in the subsequent message prompt.

The current directory (macos_local) is now hosted on localhost. Leave the Terminal window open to keep the localhost server running until the process is completed.

To verify the setup, click on any of the package (.pkg or pkg) URLs in your browser and check the download speed as it downloads the package.

You may notice a very high-speed download (which is much higher than the speed of your Internet connection). This is because the file will be downloaded through localhost; your Internet bandwidth won’t be used.

Step 4: Download macOS Catalina through the Mac App Store or System Preferences.

Don’t worry. Since you’ve redirected the package URLs locally, Software Update / MAS will fetch the package files from localhost and launch the installer (“.app”) file once the packages have been processed.

Note: Your Mac might request additional resources from the “swcdn.apple.com” domain while installing macOS Catalina. Thus, it is recommended to remove the entry from the hosts file that we appended earlier, before proceeding with the installation.

Is the workaround genuine?

In this workaround, we are downloading the required resources from the Apple Server and using the official Software Update channel to install the OS update. So yes, it is as genuine as the official method.

The only factor we’re changing here is the location where Software Update / MAS fetches the packages from. If you are downloading the macOS package files from third-party sources, you can verify whether it’s the original, by comparing their MD5 and SHA1 hash values.

macOS Catalina Bootable Installer (macOS Catalina DMG)

Now that you have the “macOS Catalina.app” installer, you can upgrade multiple Macs to the latest version using the same file. However, if you are looking to perform a fresh installation, you need to create a bootable installer for Catalina.

The bootable image for Catalina (InstallESD.dmg) is located within its “.app” file. To get the InstallESD.dmg file, right-click on “macOS Catalina.app”, select “Show Package Contents” option, and browse to the “Contents/SharedSupport/” folder.

Alternatively, the bootable installer for macOS Catalina may be directly created from the “.app” file using the “createinstallmedia” command, as suggested by Apple.

If this workaround has helped you to get macOS Catalina easily or saved your Internet bandwidth on single or multiple installations, let us know in the comments below.

Share your thoughts