Install OS X El Capitan on Mac [Direct Download]


I was very excited about the release of OS X El Capitan earlier this week. The OS upgrade is highly recommended as it vastly improves the performance of Macs (that are capable of running Yosemite). However, my experience with the upgrade process was not a pleasant one. It was only a few hours back that I was successfully able to upgrade my Mac. That was after the MAS download got interrupted 6 times in a row, and I had wasted more than 15 GB of data on a single download of 6.08 GB.
               >> Install macOS Sierra on Mac [Direct Download] <<

UPDATE: macOS Sierra has been released. Check out how to get macOS Sierra from outside the Mac App Store.

The initial experience with OS X upgrades is almost the same every year. During the first few days of public release, the Apple server gets hit with a huge number of download requests. As a result, you might experience slow download speeds, and sometimes it might even get interrupted during the download. In such cases, you might have to restart it all over again.

Install OS X El Capitan on Mac [Direct Download]

Although there is no official way to download OS X El Capitan from outside the Mac App Store [MAS], we have found a reliable workaround for those who are facing similar issues with the OS X upgrade.

Installing El Capitan

When you download OS X El Capitan using the Mac App Store, a raw package (.pkg) file is downloaded from the Apple server. This raw file is not installable on its own. While downloading the package, MAS processes and converts it into an executable (.app) file, which can then be installed on your Mac.

In this workaround, we’ll be downloading the raw package directly from the Apple server using a suitable download manager. This will accelerate the download speed, and reduce the risk of download error at the same time. We’ll then configure the system in such a way that the MAS downloads and installs the new version of OS X from the locally downloaded raw package, instead of the one available on the Apple server.

The end result is the same as you would get if you had downloaded OS X El Capitan directly from MAS. The only thing you have skipped here is the annoying download interruptions and slow download speeds.

Note: On Mac App Store, the estimated download time was around 15 hours on a 2 Mbps connection. Using a download manager like Folx, the setup package was downloaded within 5 hours on the same connection.

OS X El Capitan [Direct Download]

First, download the El Capitan package (.pkg) file from the Apple server using a suitable download manager.

El Capitan package URL:

#Update: OS X El Capitan is no longer the latest version of OS X / macOS available on the App Store. If you want to upgrade to the latest version, you can follow our dedicated article on how to upgrade from OS X to macOS Sierra via direct download. If you are on an earlier version of OS X, you can download and install El Capitan from directly the App Store.

>>OS X El Capitan on Mac App Store

Alternatively, if you currently on a later version of macOS and want to downgrade to El Capitan for some reason, you can officially do so only if you have purchased it earlier. In that case, head over to your purchases section (MAS >> Purchased tab), and download it from there. If it is not available in your Purchased list, we recommend you to get it from any of your friends or colleagues.

And if you want to download El Capitan directly from package file, you can follow the below method to achieve the same using the updated package (.pkg and .pfpkg) URLs below. We have also updated the steps in the article accordingly.

OS X El Capitan .pfpkg file URL:

OS X El Capitan .pkg file URL:

Once you have got the raw packages, you need to configure your Mac so that the MAS uses them as the source for downloading OS X El Capitan. For this, first you need to edit the hosts file and point the root domain of the download URLs ( to localhost ( To modify the hosts file as required, follow the steps below:

#1 Open Terminal from the Launchpad or Applications list.

#2 Type “sudo nano /etc/hosts” and hit the return key. You’ll be asked for your password. Enter your admin password. The hosts file is now open in editable mode within the Terminal window.

#3 Add the following line to the end of the file: “”.

Editing hosts file on Mac

#4 Press control + X (^X), then Y and hit return to save the file and return to Terminal prompt.

The root domain has now been pointed to localhost IP of your computer.

Note: Sometimes, you might need to flush the DNS cache for the changes to take effect. To flush DNS cache, type “sudo killall -HUP mDNSResponder” in the command line and hit return.

Next, you need to replicate the path of the source packages on your computer in the same way as it is represented in the original URLs. Only then, will MAS be able to download them from localhost server.

To do this, you need to create the same directory structure on your computer as the structure of the download URLs,  within a particular folder, and then assign that folder as the root of the localhost server.

Note: OS X comes preinstalled with Python, which natively includes a SimpleHTTPServer by default. This server can turn any directory on your Mac into a web server directory (on localhost).

In this example, we will create a folder named “osxapps_local” on Desktop, and replicate the directory structure of the package URLs under it. Follow the steps below to create the directory structure and then host “osxapps_local” as the root directory on localhost.

#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 osxapps_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 osxapps_local” and hitting return.

#5 Enter the following commands to create the relative paths for the .pfpkg and .pkg files respectively, inside the osxapps_local folder:
sudo mkdir -p ./apple-assets-us-std-000001/Purple60/v4/45/df/86/45df865d-d24d-01d6-2b2c-c003317293ac/
sudo mkdir -p ./apple-assets-us-std-000001/Purple20/v4/dc/94/05/dc940501-f06f-2a91-555e-3dc272653af5/
Provide the admin password when requested.

#6 Place the downloaded package files in their respective relative locations (as per their URLs) within the osxapps_local folder on the Desktop. Click on Authenticate when prompted, and provide the system admin password.

#7 The Terminal prompt should be pointed to the root directory inside Desktop. Now, you need to host this folder on localhost. In order to do that, execute the following command in the Terminal prompt: “sudo python -m SimpleHTTPServer 80”. Provide the admin password and click on Allow in the subsequent message prompt. This will start the localhost server in the Terminal window. Do not close the terminal window till the process is over.

Start SimpleHTTPServer on Mac

To check the status of the local server setup, enter the URL of the original .pkg file in your browser and check the download speed. It should be very high as it is downloading from the localhost server.

El Capitan Direct Download at High Speed

Now, launch the Mac App Store, go to the El Capitan page or Purchased tab and download OS X El Capitan from there. MAS will now download it from the local server at a high speed. Once downloaded, you may proceed with the installation by clicking on Continue when the setup launches.

Note: During the installation process, your Mac may request resources from the “” domain. Thus, it is recommended to remove the entry from the hosts file before proceeding with the installation.

Is this method Genuine?

You might be wondering if this workaround to install OS X El Capitan is genuine enough. And to answer the question, it’s as genuine as the official one. Here, you’re downloading the same raw package that Mac App Store requests when it downloads OS X El Capitan. And you’re using MAS to convert the raw package into the executable app file. The only thing that changes here is the location of the raw file that Mac App Store downloads from (localhost instead of Apple server).

As for the build number, it is the latest version of El Capitan that was publicly released on September 30. Mac App Store downloads the update from a specific URL, and there is only one directory structure (with only one file in it) that you have replicated on the localhost server. If Mac App Store’s target URL did not match the relative path on localhost, it would not be able to download the package from localhost. After El Capitan has been installed, you may verify its build number (15A284) by clicking on “About This Mac” from the Apple Menu.

Additionally, we are also providing the MD5 and SHA1 hash values for the original disk image file (InstallESD.dmg) found within the processed OS X El Capitan app package. If you wish to download the raw package (ftk3252456602304584541.pkg) from alternate sources, such as torrents, you can verify the authenticity of the file using its MD5 or SHA1 (also provided below).

El Capitan (15A284) hash/md5


SHA1: 5e21097f2e98417ecc12574a7bb46a402594ea4a
MD5: d54b388282228df41f40e95649e8bc32


SHA1: 8ff3e26ec16aece573b3cea680b0df67f85ccd8a
MD5: f46f412a5a74b0122ac1a317d604758a

El Capitan Bootable Installer (El Capitan DMG)

Now that you have the El Capitan “.app” file, you can use it to update OS X on multiple Macs. If you’re looking for a fresh installation, you need to create the bootable installer for El Capitan.

One way to do so is from the El Capitan DMG (InstallESD.dmg) file. And you can get it from the El Capitan “.app” file, by browsing the Package Contents in “Install OS X El”.

Alternatively, you may create a bootable installer for El Capitan directly from the El Capitan “.app” file, using the “createinstallmedia” command, as suggested by Apple.

Do you find this workaround useful? Let us know of your opinion in the comments below.

Share your thoughts

  • Thanks for SHA1 and MD5 Hash sums. verifying networked cached version of EI captain , Download was completed in just 45 minutes .

  • Artyom

    Updating OS X from Mac App Store is seriously a daunting task, especially when you’re having multiple Macs! And after hearing all the news about App Store Malware, It’s really hard to trust any source outside of the MAS.

    Thanks for convincing me to try this out. I’ve successfully updated all my Macs. It’s fast, reliable, and bandwidth friendly! 🙂

  • Wade

    Thanks a lot for the info. I just can’t afford to download 6 gig files without a download manager. Now, I haven’t got the pkg file intact yet (I tried overnight last night and ended up with a bum copy), but I noticed that when I right-clicked on the pkg, intending to ‘show contents’, there was an option to ‘open in app store’. I wondered if there’s any chance this option could take the place of the workarounds described in this post once a person has managed to download the pkg?

    • RonRK

      @disqus_uRSUULwzIF:disqus, If you open the .pkg file with App Store, it will just search for the file in the MAS. So NO! It won’t work that way.

      I guess, the described workaround might be the only way to install OS X from a .pkg file.

  • Hellion

    Guys! found a genuine torrent for that .pkg file. I have downloaded the file and verified all the hashes. If you are facing problem with even direct download, this torrent might save your day!

    OS X El Capitan – Version 10.11 (15A284)
    Torrent Hash: 793362329ea3409805e6273e9976b3c9b6e2876e
    File: ftk3252456602304584541.pkg
    File Hash: MD5: f46f412a5a74b0122ac1a317d604758a
    Torrent file:

    P.S. I have successfully installed El Capitan using this torrent, and of course, special thanks to whoever’s behind this article.

  • Mustafa AbdulSalam Abood


    Thanks for the great article, i executed all steps and downloaded the 6 GB file, however I am facing an issue with the step regarding PYTHON, below is the error I get; could you help to resolve it?

    Mustafas-MacBook-Pro:osxapps_local mustafa4bebot$ sudo python -m SimpleHTTPServer 80

    Traceback (most recent call last):

    File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/”, line 162, in _run_module_as_main

    “__main__”, fname, loader, pkg_name)

    File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/”, line 72, in _run_code

    exec code in run_globals

    File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/”, line 235, in


    File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/”, line 231, in test

    BaseHTTPServer.test(HandlerClass, ServerClass)

    File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/”, line 595, in test

    httpd = ServerClass(server_address, HandlerClass)

    File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/”, line 420, in __init__


    File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/”, line 108, in server_bind


    File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/”, line 434, in server_bind


    File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/”, line 228, in meth

    return getattr(self._sock,name)(*args)

    socket.error: [Errno 48] Address already in use

    • sudoMac

      Just give your Mac a Restart…, It will properly stop all the previous processes linked to SimpleHTTPServer. Now open Terminal and type the following commands;

      cd desktop
      cd osxapps_local
      sudo python -m SimpleHTTPServer 80

      Enter your system password, and Allow the incoming network connections… You should see something like this:

      Serving HTTP on port 80 ...

  • Abhishek Datta

    I did everything as told, and I’m getting

    Serving HTTP on port 80 …

    But the authentication dialog never shows up. And the original package download in browser and Install OS X in MAS start at standard broadband speed.

    I checked Firewall settings. Python has all incoming connections allowed. What’s going wrong?

    • Ruth

      Based on what you have said, I’m quite positive that you missed to add this line to your hosts file.

  • Max

    What’s the point of sudoing in step #5?

    • Den

      This will make that folder “Read only”. A good practice to avoid any kind of accidental tempering to that folder.

  • brainwave

    What an epic article! Very very helpful. Just when I was stuck without being able to download the EI Captain image 😀 Thanks!

  • Naveed Abbas

    Its starts downloading in the AppStore App but it never crosses 500MB. It restarts the download a couple of times and then throws an error. I pasted the console log but it detected as spam.

    It throws with the error number 32 Broken pipe. I googled it for many hours but I couldn’t fix it. I also tried to use MAMP Pro (I use to manage web servers) but no luck. Some people are recommending different alternatives for SimpleHTTPServer command.

    If somebody managed to get over it, kindly post it here.

  • Akash Patel

    i did everything as mention above and added that host line too still i didnt get python authentication window can someone help me?

    • Den

      Won’t be an issue. After completing step #7, paste the URL on your browser, and if correctly setup, you will be having a high download speed. And are ready to install El Capitan directly from the MAS @ the same high speed!!!

      I also didn’t get that auth window, but worked perfectly for me! 🙂

  • futaris

    The URLs have changed for 10.11.1:

    So the only difference is Step #5:

    sudo mkdir -p ./apple-assets-us-std-000001/Purple6/v4/00/09/cf/0009cf9b-1b5b-462d-87f2-2443c397ba55/

  • misur

    Can someone provide a quick update to the latest file in the Apple store. The update bellow is not working anymore as when I start download from the Apple store the requested file is different from the one .pkg that we have here… please help…

  • Macnin

    I have downloaded and install El Capitan from that .pkg file before the 10.11.1 update. If you want to download now, the 10.11 pkg file won’t work for you. But the good news is, I have the back up of the app file. You can get it via torrent download >>

    * It’s a zip file and you must use the default OS X Archive Utility to unzip it.
    * It’s OS X El Capitan 10.11 (15A284). But you can easily update it to the latest version from the Mac App Store. Or directly download the update from Apple’s website >> (10.11.2 update)


  • Thamer Mously

    The URL has been changed for 10.11.2:

    So the only difference is Step #5:

    sudo mkdir -p ./apple-assets-us-std-000001/Purple2/v4/c1/18/fc/c118fc97-bb54-41e4-6f57-3c50539caa98/

  • cyberfunk77

    UPDATE Jan 13th for El Capitan 10.11.2. Apple added an extra step at least in my experience and I’m running Snow Leopard 10.6.8. Now you have to create two directories inside the “osxapps_local” folder instead of one. You now need to create one directory for the latest El Capitan .pkg file and another separate directory for a new signed .pfpkg file that the App Store uses to point to the .pkg on Apple’s Servers or in this case the .pkg file you’re hosting locally. Try following the above instructions using the one directory and you’ll see what I mean. On Snow Leopard my download failed because the App Store was looking for the new .pfpkg file instead of downloading the .pkg file directly. Once I set up the additional directory for the new .pfpkg file everything downloaded and was converted successfully. I downloaded the .pfpkg file from

    and the latest El Capitan .pkg using the link in the post below

    You have to “mkdir” for each file in “osxapps_local” folder.

    • italwebster

      Hi, could you please lay out the steps you followed clearly because i have tried to use your method and the download has failed.

      • What he meant is that you have to create two directories inside osxapps_local directory when you reach Step 5 as follows:

        sudo mkdir -p ./apple-assets-us-std-000001/Purple2/v4/c1/18/fc/c118fc97-bb54-41e4-6f57-3c50539caa98/

        sudo mkdir -p ./apple-assets-us-std-000001/Purple7/v4/83/7a/75/837a7505-7b43-e158-d260-937151594714/

        The first directory will hold ipl1193488517185310884.pkg file while the second directory will hold signed.dcr.8452758166978340968.pfpkg file.

        Moreover, you can download both the files from these links respectively:

        Rest of the steps will be same as mentioned in the tutorial above.

        Let me know if you need anything else in this regard.

        • Gabriel Mercado

          A good and a clear explanation. Thanks

        • Jeffry Ernest Ginting

          Hi, i found an error 404 while try to download from MAS. Meanwhile in

          the terminal, the directory for .pfpkg file seems different, and the

          pfpkg file name is also different

          Anyone could help me?

          • cyberfunk77

            I’m re-downloading both files right now using the same links I posted in my comment above so it seems they may still be working. As far as the directories I’ll let you know if those have changed once my download is complete.

          • Did you point to in hosts file? If you have not done so, Mac App Store will throw a 404 error.

            As far as the directory for .pfpkg file is concerned, try and make the directory emulate the url of the pfpkg file.

            Let me know if you need any further assistance.

          • Jeffry Ernest Ginting

            yes, i did exactly as the step above. it seems because apple has already release the 10.11.3.

            In the terminal while phyton execute, it search from different directory.

          • Digi


            After downloading the file and follow all the step , i easily download the file in web browser with great speed but when comes to mas 404 error come

            Help me

    • Gabriel Mercado

      Hi, thanks for the update! I haven’t finished downloading the pkg yet, but regarding the .pfpkg should I create a folder named:
      ./apple-assets-us-std-000001/Purple7/v4/83/7a/75/837a7505-7b43-e158-d260-937151594714/ and put the signed pfpkg there?


      I’ll post my results once I finished downloading everything

  • Dannisi

    Anyone a link for 10.11.3?

    • Jeffry Ernest Ginting

      Me also wait for the same response. I already download the 10.11.2 (it takes me 10 hours with my ISP) and unfortunately apple has release the new one.

      • mk2soldier

        I have a link but I cannot make it work using this method.

        However here it is:

        MD5: 24C74ACC4779B32A01024348C00892DC
        SHA1: E4311D93127D0668372B32E5342F3B455B6BC9BD

        Let me know how it goes.


      • Hello @jeffryernestginting:disqus ,

        Here’s the link of the pfpkg file for OS X El Capitan 10.11.3

        You can use the link to pkg file mentioned by @mk2soldier:disqus below which I am including here

        Follow the remaining steps i.e., create 2 directories inside osxapps_local directory (one for each viz., pfpkg and pkg files) and point to

        If you encounter any errors or problem, let me know.

        • c4cyberman

          Please help. Could you give the exact directory comand for pfpkg and pkg ro be copied to. Right now in the app store its showing “waiting”

          • Here are the commands

            1. cd Desktop

            2. mkdir osxapps_local

            3. cd osxapps_local

            4. sudo mkdir -p ./apple-assets-us-std-000001/Purple49/v4/f9/19/f6/f919f6b1-258d-55f1-3c70-b93dd553e827

            5. sudo mkdir -p ./apple-assets-us-std-000001/Purple49/v4/a6/26/f0/a626f0cc-6bbf-8018-9920-a1559c9026cf/

            The directory at step 4 is for pfpkg file and the directory at step 5 is for pkg file.

            6. sudo python -m SimpleHTTPServer 80

            Please also make sure that you have this line in /etc/hosts file


          • Jeffry Ernest Ginting

            Hi @shyam singh thank you very much, i will try and will post the result.

          • c4cyberman

            Thank you so much 🙂

          • Prince Shrestha

            Hello @singhshyam:disqus
            How to point to in hosts file?

          • Follow the steps below to point to in hosts file

            Open Terminal and type the following command to open hosts file

            1. sudo nano /etc/hosts

            Inside the hosts file, at the very bottom, add this line


            Press Ctrl + O to write out the changes and press Ctrl + X to exit the nano editor and you are done.

            Note: Please keep in mind that there is a single table between and

          • c4cyberman

            Hi @singhshyam:disqus How are you ? Last year you had help me fix the download issue. I have the same file and i tried the same method but i am getting a error not a valid purchase or something then I tried but i am getting a 404 error

          • Amgad Makarem

            I did everything as mentioned but still i got 404 error can’t find the file, so i changed the name of each file and created directories that matches the ones mentioned in the error, but still whenever i click download on the appstore it says downloading then it stops and an error comes saying try again through the purchase page. if the links you mentioned got changed please provide me with new links. The terminal log shows:

            Exception happened during processing of request from (‘’, 49917)

            Traceback (most recent call last):

            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/”, line 295, in _handle_request_noblock

            self.process_request(request, client_address)

            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/”, line 321, in process_request

            self.finish_request(request, client_address)

            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/”, line 334, in finish_request

            self.RequestHandlerClass(request, client_address, self)

            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/”, line 657, in __init__


            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/”, line 716, in finish


            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/”, line 283, in close


            File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/”, line 307, in flush


            error: [Errno 32] Broken pipe

    • OS X El Capitan 10.11.3 Update is 662.38 MB in size and if you already have 10.11.2 installed, I’d recommend that you use Mac App Store to Update rather than downloading entire OS X El Capitan 10.11.3 installer.

      If you still wanna download the entire installer, I can fetch the links for you shortly and post it as soon as I have them.

      • OS X Ninja

        OS X El Capitan 10.11.3 update can be directly downloaded from this link (File Size: 662.38 MB) :

        Please note that this link will only work for those who are already on OS X El Capitan (with older version).

        If you are looking for a fresh installation, you can directly download the OS X El Capitan 10.11.3 app file from this torrent (File Size: 6.19 GB):

        • Jeffry Ernest Ginting

          do you have the .pfpkg file as well?

          • cyberfunk77

            I think if you use the torrent to download the full installation of 10.11.3 the download is already in .app format so you would not need the .pfpkg. As for the update I think they are always in .pkg format so you should be good downloading the file and installing it directly with no need to convert to .app.

          • Jeffry Ernest Ginting

            So, the file in torrent is already in .app format, and i just double click it to do the MAC OSX installation?

          • cyberfunk77

            I believe so. If you analyze the torrent, the file to be downloaded is called “Install OS X El”

      • Jeffry Ernest Ginting

        Yes please, i need the entire installer both .pkg and .pfpkg

  • mk2soldier

    Hmm, it seems that the OS X 10.11.3 .pkg file ( MD5: 24C74ACC4779B32A01024348C00892DC SHA1: E4311D93127D0668372B32E5342F3B455B6BC9BD) has the same hashes as “Install OS X El Capitan. app/Contents/SharedSupport/InstallESD.dmg” so it is the same file.

    Check the following link:

  • JustAnotherGuy
  • vipul

    does any one knows about the package url of 10.11.4??????

  • Liang ZHANG

    The link of the pkg file of El Capitan 10.11.4

    I have already got the installer app of 10.11.4 with the method described in this article

  • sebus
    • Tito

      Indeed, but we need some more ‘Mac’-minded people 😛

      Don’t you think it would be better to create a repo & discussion thread for this?

  • Pranjal Jain

    can someone post a link to 10.11.4 pfpkg file? Also, after running “sudo python -m SimpleHTTPServer 80” it seems to be stuck(it has been 20 mins). Is it really stuck or just processing?

  • Stephen

    Can you use the pkg file in disk maker to create a bootable usb installer ?

    • igobythisname

      i’d like to know this as well.. can i download this .pkg file and use it as if it’s a .DMG file to make a bootable usb drive?

  • Kunal K

    The size of the pkg file of El Capitan 10.11.4 is 5.77GB but in Mac App Store is 6.2GB.
    So the below link is correct? Liang ZHANG posted this link.

  • Josh

    This is great article. It’s really helpful. I use this in downloading OS 10.11.4 using this link as posted by Liang

  • Mac Ninja

    OS X El Capitan 10.11.5 Update Direct Download Link:

    • David O

      Thank you for posting this link. It was a great help. Would you happen to have a link to the OS X El Capitan 10.11.5 pfpkg file? or Would you know how I can find it? I have searched the net and I can’t seem to locate it. Thanks for all your help!!

  • David O

    Can someone post a link to the OS X El Capitan 10.11.5 pfpkg
    file? or Would you know how I can find it? I have searched the net and I
    can’t seem to locate it. Thanks for all your help!!

  • el capitan freak
    • Abdul Muis Al Amin

      I tried your suggestion for the url but didn’t work. It return 404.
      If I tried open the url from the browser it works. Seems the url changed?

    • Liang ZHANG

      What is .pfpkg format? And What’s the difference between .pkg and it?

  • Andi Kretschi


    Is there a way to set all changes back to normal?
    Sinds I made the described changes my AppStore don’t work anymore: No connection with server possible…

    Thanks, Andreas.

    • Bruce

      Just remove the “” entry from your hosts file.

  • H.R.Seifolahi

    You are a genius!
    latest download link of OS X El Capitan is:

    It’s strange. all the app store web services are on http. no https

  • user
  • Rafa Chinchilla

    Hello David! Thanks for this awesome post.
    Though, El Capitan is no longer available in the AppStore. There is anyway to convert the .pkg into an usable .app in order to create the USB installer?

    • Jiraiya Sama

      same boat here, dont want sierra, cant get el capitan

    • David@7labs

      Hello @rafachinchilla:disqus & @Elanimal1234:disqus,
      Thanks for bringing this to our attention.

      Since OS X El Capitan is no longer available on the App Store, the only way to officially get the .app file is through the MAS Purchased tab, if you have already purchased it earlier. We have updated the steps above accordingly, along with the new package URLs. If you have already downloaded the .pkg file, do ensure that it’s of the same name as that mentioned in the updated URL. If it’s not, you may have to re-download it from the updated link in the article.

  • Shawn Dyer

    Hello, thanks for your post. I tried the above method and at the end, to download from localhost I received this message.

    “ – – [27/Sep/2016 01:33:47] “HEAD / HTTP/1.1″ 200 -”

    Any thoughts?

  • Seaniepie

    Thanks for this post. You know, all I needed in the end from this was to look in my Mac App Store Previous Purchases section and find El Capitan in there and redownload it. From there I used the terminal command to install it onto a flash drive then boot from it and clean install. You’re a star! The terminal command btw to copy your installer file to a thumb drive you’ve formatted MacOSExtended_GUID named “untitled” is:
    sudo /Applications/Install OS X El –volume /Volumes/untitled –applicationpath /Applications/Install OS X El –nointeraction

  • buensa

    is the link for macOS 10.12.1 available?

  • Michael

    This worked like a charm. Thank you so much for the instructions.

  • Rdorigo

    Hi. I am new in mac and have a question. How do I make it so El Capitan appears in my MAS? I am trying to change the HD to SSD in a macbook and keep the Capitan. I have never previously purchased El Capitan before

  • elfwine

    I got setup it. Unfortunately, when I tried to test to download the .pfpkg from Chrome or Safari, I got a CONNECTION REFUSED error. when I change ‘’ to ‘localhost’, I can download it successfully. It means localhost webserver is serving the files but can’t forward to ‘’.
    And yeah, there’s an entry to my hosts file, so I wonder why I can’t access it. Anyone had the same problem like this?

  • AriK
  • William
  • Haidong Zheng

    I followed through the procedures and only to see that this is a way to retrieve what you have purchased before… Now that El Capitan is officially off the shelf from Mac App Store, and I didn’t purchase the app before, is there a way we can “find” it in the “purchased” tab or somehow let MAS “find” it?

    • Rodrigo

      If you haven’t purchased El Capitan and already on macOS Sierra, there is no way you can purchase El Capitan. And I don’t think you would even need El Capitan if you have successfully updated to Sierra.

      However, if you are using an earlier version like Snow Leopard, Lion, Mountain Lion, Mavericks, Yosemite, etc. You can still purchase El Capitan from this link:

      You can check the “#Update:” section of this article to find more info regarding the same.

      • chadbag

        Thanks! That is what I needed. I have an older MacPro where El Capitan is the end of the line, but the machine is still at Yosemite and I wanted to get it as upgraded as possible.

        El Capitan should be fine on this one. I have other more recent Macs that run Sierra etc.

  • danny rand

    hi david, do you have the link for 10.12.4 ??

  • Kerbi

    The new URLs for downloading are:

    By the way, if you find out that the URLs didn’t work just start the SimpleHTTPServer.
    You will see the GET Requests there (after you did edit the host file)

    Have fun 🙂

  • Luna Jernberg

    This site helped me at work today, and has helped a bunch of friends and such in the past 🙂

  • Jade L

    hi after i did the few steps in terminal i can’t use my appstore how do i reset the command?

    • binR

      #1 Open Terminal from the Launchpad or Applications list.

      #2 Type “sudo nano /etc/hosts” and hit the return key. You’ll be asked for your password. Enter your admin password. The hosts file is now open in editable mode within the Terminal window.

      #3 Remove the following line: “”.

      #4 Press control + X (^X), then Y and hit return to save the file and return to Terminal prompt.

  • Alex
  • Travis
    Hello. I recently tried your technique, but MAS is giving me an “We could not complete your purchase: Unknown error” popup. I am running Snow Leopard 10.6.8. Was wondering if you could help.
    I used to get the El Capitan page on the MAS.