I just re-downloaded El Capitán off of the App Store for the purposes of transferring it to another machine via USB. When it was done downloading, it automatically launched the installer asking me to click on continue to start installing El Capitán. I do not wish to reinstall, so I quit the installer, but now I cannot find it. Where would the App Store have downloaded it to?
When finished, it puts them in the Applications folder.
OS installers are all called "Install OS X [OS Name]" which might not be what you expected, if you're looking alphabetically for instance for El Capitan.
Prior to completion they are squirrelled away deep inside
/private/var/folders & not easy at all to find.
Since the location is generated in a different spot, you have to crawl the filesystem to locate the folder(s) that contain these files.
cd /private/var/folders sudo find . -name "com.apple.appstore" # This will throw some errors due to inaccessible directories, so it may be # better to use sudo find /private/var/folders -name "com.apple.appstore" 2>/dev/null # or, making use of the fact that the result will be within TMPDIR ls -d $TMPDIR../C/com.apple.appstore
If you copy the location and type “open “ with a space and paste the copied location, you should see that folder in finder.
I did steps mentioned by hphinc from here https://discussions.apple.com/thread/4234582
- Start the download
- From terminal, execute the following command: lsof | grep -i pkg
- This will give you a result like: /private/var/folders/lt/05z7qkqs0r33x7t3khp2bxm00000gp/C/com.apple.appstore/497 799835/dge2261667518591136895.pkg
- The last column is the full path to the package it is currently downloading. In this case, it's: /private/var/folders/lt/05z7qkqs0r33x7t3khp2bxm00000gp/C/com.apple.appstore/4977 99835/
Ever since macOS Catalina (10.15), Apple implemented a separate appstored (daemon) and appstoreagent processes, which are I believe responsible for handling files and downloading in the background.
In contrast to Mojave and earlier, you will now see an additional folder while downloading files from the App Store. Once you click GET or UPDATE and run the following command, you can confirm having two instead of one App Store related folder:
ls -d $TMPDIR../C/com.apple.appstore* /var/folders/x3/h4gbhgx52mx_wv30p8m0z9vh0000gn/T/../C/com.apple.appstore /var/folders/x3/h4gbhgx52mx_wv30p8m0z9vh0000gn/T/../C/com.apple.appstoreagent
This agent folder is the newer location where the temporary subfolder resides for preflight and downloading the actual package ; until installed.