- brew download source code, build and install, mostly for programmer; brew cask is an extension to brew, mostly for normal user and GUI applications.
- brew cask syntax is deprecated. use
brew <cmd> --cask instead.
- brew install things to Cellar dir
/usr/local/Cellar on Intel CPU and /opt/homebrew/Cellar on Apple Silicon.
- formula is the package definition for brew, casks is the one for Cask
- tap(Third Party Repository) is the source of formula, brew tap adds more repos to the list of formula that brew needs