打开终端输入以下命令:
xattr -r -d com.apple.quarantine /Applications/ShellCraft.app
打开终端输入以下命令:
xattr -r -d com.apple.quarantine /Applications/ShellCraft.app
在~/.zshrc文件最后,增加一行:source ~/.bash_profile
如果没有 .zshrc 文件, 在相应目录下 执行 touch .zshrc 创建文件,添加 source ~/.bash_profile
在命令行执行curl -sShttps://getcomposer.org/installer| php 如果没安装 curl 执行以下代码php -r “readfile(‘https://getcomposer.org/installer‘);” | php然后执行sudo mv composer.phar /usr/local/bin/composer修改 composer的权限sudo chmod a+x /usr/local/bin/composer注意sudo mv composer.phar /usr/local/bin/composer不用创建 composer 目录
composer create-project laravel/laravel ftApp –prefer-dist