今天使用brew安装软件时报错,报错如下

Warning: You are using macOS 12.
We do not provide support for this pre-release version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
pre-release version.

大概意思是说我升级以后以后好像不支持了,然后去网上找解决办法

解决方式:cd "$(brew --repo)" && git fetch && git reset --hard origin/master && brew update

可能是由于好多库没更新我的花费很长时间

使用命令等待很长时间后显示如下信息

然后根据命令提示  brew upgrade 完美解决 

GitHub 加速计划 / br / brew
40.4 K
9.47 K
下载
🍺 The missing package manager for macOS (or Linux)
最近提交(Master分支:30 天前 )
90a90b30 2 个月前
47b1cab7 3 个月前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐