我真的是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: No previously deleted formula found.
==> Searching for similarly named formulae...
==> Searching local taps...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
问题是如何通过自制软件安装作曲家?(也许我应该以某种方式卸载已安装的PHP并通过自制软件安装PHP?)