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
On Mac Intel machines, that's all you need to do; Homebrew is ready to use. On Mac Intel, Homebrew installs itself into the /usr/local/bin directory, which is already configured for access by the shell with the macOS default $PATH environment variable (the default is set by the /usr/libexec/path_helper command).
The installation script installs Homebrew to /home/linuxbrew/. linuxbrew using sudo if possible and within your home directory at ~/. linuxbrew otherwise. Homebrew does not use sudo after installation.
The binaries are located at /usr/local/bin .
But if you install Homebrew on an M1 Mac running Apple Silicon, then Homebrew gets installed in /opt/homebrew/bin . Since /opt/homebrew/bin is not included in your PATH by default, there is some extra configuration needed to allow you to use packages installed with Homebrew.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With