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

后端 未结 2 613
独厮守ぢ
独厮守ぢ 2021-02-04 07:18

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

2条回答
  •  别跟我提以往
    2021-02-04 07:21

    Furthermore, apart from what @Subhash Bhushan explained, if you want to know where exactly a formula has been installed you can use the command info

    brew cask info formula
    

    For example for atom:

    brew cask info atom
    
    atom: 1.32.2 (auto_updates)
    https://atom.io/
    /usr/local/Caskroom/atom/1.32.2 (64B)
    From: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/atom.rb
    ==> Name
    Github Atom
    ==> Artifacts
    Atom.app (App)
    /Users/username/Applications/Atom.app/Contents/Resources/app/apm/bin/apm (Binary)
    /Users/username/Applications/Atom.app/Contents/Resources/app/atom.sh -> atom (Binary)
    

    In this example, the artifact is installed in ~/Appplications.

提交回复
热议问题