macoshomebrewhomebrew-cask

Which directory is the real location that `brew cask install` uses?


Which directory is the real location that brew cask install uses?

I want to find the real location of app, not the symlink in /Application


Solution

  • You can find custom commands for each application amongst available Casks, but generally, brew cask install just retrieves the configured version of the executable file and moves it to the specified application directory (~/Applications by default).

    /usr/local/Caskroom contains the list of casks installed, and .metadata folder in each cask mentions the cask file used during installation.

    The app directory you see in ~/Applications is not a symlink. If it is so, check that app's cask file and it should contain clues to the real location.