What is the difference between brew install XXX and brew cask install XXX

前端 未结 3 1117
南方客
南方客 2021-01-29 19:33

I\'m familiarizing myself with the whole homebrew kit and the documentation is rather poor. What is a cask, Cellar and a tap?

3条回答
  •  礼貌的吻别
    2021-01-29 20:30

    Quoting from official docs:

    Cask

    https://github.com/Homebrew/homebrew-cask

    Homebrew Cask extends Homebrew and brings its elegance, simplicity, and speed to the installation and management of GUI macOS applications such as Atom and Google Chrome.

    Cellar

    https://docs.brew.sh/Formula-Cookbook

    Homebrew installs to the Cellar and then symlinks some of the installation into /usr/local so that other programs can see what’s going on.

    Tap

    https://docs.brew.sh/Taps

    Taps (Third-Party Repositories)

    brew tap adds more repositories to the list of formulae that brew tracks, updates, and installs from. By default, tap assumes that the repositories come from GitHub, but the command isn’t limited to any one location.

提交回复
热议问题