Laraval环境搭建
更换终端 shell 安装 oh-my-zsh 主题,默认shell为 zsh 而不是 bash sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" 重新打开终端,默认为 zsh 安装Composer 进入官网下载:https://getcomposer.org ,下载最新版本 下载后得到可执行文件 composer.phar 授权所有用户可执行 移动到环境目录,并改名为:composer ➜ ~ sudo mv composer.phar /usr/bin/composer Password: ➜ ~ composer -V Composer version 1.9-dev (1.9-dev+bfba228b5a232bcb9e4bb7941f0a0aaa37bab117) 2019-08-13 15:28:15 ➜ ~ 配置阿里云镜像地址 ➜ ~ composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ ➜ ~ composer clear-cache Cache directory does not exist (cache-vcs-dir):