Homebrew is a package manager on macOS. Homebrew will install the package into a separate directory and soft-link the files to it /usr/local
. All files will be installed in a predefined directory, so there is no need to worry about the installation location of Homebrew. Homebrew Ruby programs are simple script, use gem
to install Gems, used brew
to get those dependencies, making macOS easier to use.
Homebrew 3.0.0 is officially released. Since version 2.7.0, the most significant change is the official support for Apple Silicon.
Main changes:
- Now officially supported by Apple Silicon and
/opt/homebrew
installation package. Homebrew is currently unable to provide Apple Silicon with all software packages that can be installed on Intel x86_64, and unsupported software can only be run in the form of Rosetta 2 translation on Apple Silicon. brew bottle
Andbottle do
block using the new syntax.brew style --fix
The formulae will be automatically corrected to this new format. This will allow morebottles
can be relocated.- The new
HOMEBREW_BOOTSNAP
environment variable allows the use of Bootsnap gem repeated calls to speed up thebrew
speed. Currently, it does not work on Apple Silicon or Homebrew portable Ruby. Bash
,fish
Andzsh
completion is automatically generated from the CLI :: Parser DSL. This ensures that they are kept up to date.brew update
Better handle renaming of upstream branches (for example,master
——main
)brew completions
Is a new command, you can choose to accept the completion provided by third-party taps
Other changes:
- Command text is automatically generated
brew audit
Read more formula data from tapsbrew casks
It is a new command implemented in Bash, which can quickly output all the casks available for installation (such asbrew formulae
)brew info --cask --json=v2
Will include whether the cask is out of date and the currently installed version- Fixed a
brew update
bug that caused errors every time it was run brew --prefix --installed
Is abrew --prefix
new tag, if the requested formula is not installed, the tag will fail
For more details, please check: https://brew.sh/2021/02/05/homebrew-3.0.0/