标签: macos homebrew
大多数地方建议在 brew 安装之前运行 brew 更新。像这样:
brew update brew install <package_name>
brew update
brew install <package_name>
首先运行 brew update 的目的是什么? 我已经多次安装而没有更新,并且运行良好
答案 0 :(得分:2)
您实际上不需要在 brew update 之前执行 brew install。 brew install 命令会在安装任何东西之前自动更新资源(这就是 brew update 所做的)。
brew install