
























Today I’d like to announce Homebrew 3.0.0. The most significant changes since 2.7.0 are official Apple Silicon support and a new bottle format in formulae.
Major changes and deprecations since 2.7.0:
/opt/homebrew. formulae.brew.sh formula pages indicate for which platforms bottles (binary packages) are provided and therefore whether they are supported by Homebrew. Homebrew doesn’t (yet) provide bottles for all packages on Apple Silicon that we do on Intel x86_64 but we welcome your help in doing so. Rosetta 2 on Apple Silicon still provides support for Intel x86_64 in /usr/local.brew bottle and bottle do blocks use a new syntax format (one :cellar per platform). brew style --fix will autocorrect formulae to this new format. This will allow more bottles to be relocatable.HOMEBREW_BOOTSNAP environment variable allows the use of the Bootsnap gem to speed up repeated brew calls. This does not work (yet) on Apple Silicon or using Homebrew’s portable Ruby.CLI::Parser DSL. This will ensure they are kept up-to-date.brew update better handles upstream branch renames (e.g. from master to main)brew completions is a new command to opt-in to completions provided by third-party tapsOther changes since 2.7.0 I’d like to highlight are the following:
brew audit reads more formula data from tapsbrew untap of an official tap you don’t use (e.g. Homebrew/homebrew-cask) will ensure it’s no longer automatically retappedbrew casks is a new command implemented in Bash to speedily output all casks available to install (like brew formulae)brew info --cask --json=v2 includes whether a cask is outdated and the currently installed versionsbrew update could be run every timebrew --prefix --installed is a new flag to brew --prefix that will fail if the requested formula is not installedFinally:
Thanks to all our hard-working maintainers, contributors, sponsors and supporters for getting us this far. Particular thanks on Homebrew 3.0.0 go to MacStadium and Apple for providing us with a lot of Apple Silicon hardware and Cassidy from Apple for helping us in many ways with this migration. Enjoy using Homebrew!
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。