打开终端输入以下命令:
xattr -r -d com.apple.quarantine /Applications/ShellCraft.app
打开终端输入以下命令:
xattr -r -d com.apple.quarantine /Applications/ShellCraft.app
Last login: Tue Jan 28 13:54:15 on ttys001 roy@192 ~ % sudo -i Password: 192:~ root# open -n /Applications/Google\ Chrome.app/ --args --disable-web-security --user-data-dir=/Users/roy/MyChromeDevUserData/
在~/.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