Brew does use `/usr/local/bin/` to link some command-line utilities, but apps are not included in that.
Brew _used_ to link apps from `/usr/local/Caskroom/` but they stopped doing that awhile ago (I believe it had something to do with App Translocation). As far as I can tell, there's no way to tell by looking at an app in /Applications/ that it was installed by `brew cask`
You can get a list of the currently-installed casks by using `brew cask list` but that will not only show apps, but also QuickLook generators, preference panes, and the like.
You can work-around this in a hack-y sort of way with this:
- Code: Select all
brew cask list | while read line
do
brew cask info "$line" | fgrep -i '.app' | sed 's# (App)$##g'
done
that will show you all of the apps that have been installed by `brew cask install` but it is slow, even without many installed.
It is also not terribly useful with Hazel.