Homebrew

中文官网

安装 brew

GitHub:https://github.com/ineo6/homebrew-install

快速开始

M1 芯片 Mac 上 Homebrew 安装

安装 HomeBrew-Cask

  1. 方法一:利用国内源手动 clone 下载(推荐)

  2. 方法二:利用官网文件安装

添加 taps

brew tap shivammathur/php
brew install shivammathur/php/php@7.3

FAQ

安装时 formulae 找不到

如果遇到下面的提示。

==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "nasm".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

尝试执行以下命令: