我真的是MacOS的新手,所以也许这是一个简单的问题。 我在使用High Sierra并安装了默认的PHP 7.1,并且还安装了运行的PHP 7.2: curl -s http://php-osx.liip.ch/install.sh | bash -s 7.2 当我跑步时: brew install composer 我越来越: Error: No available formula with the name "composer" ==> Searching for a previously deleted formula... Warning: homebrew/core is shallow clone. To get complete history run: git -C "$(brew --repo homebrew/core)" fetch --unshallow Error: …