📜  如何在 mac 中安装最新的 composer - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:42.434000             🧑  作者: Mango

代码示例2
curl -sS https://getcomposer.org/installer | php
php composer.phar install
mv composer.phar /usr/local/bin/composer
open -e  ~/.zshrc
// or open -e  ~/.bash_profile
alias composer="php /usr/local/bin/composer"