windows版本
1、安装composer
Composer-Setup.exe 下载composer
composer self-update 更新
2 安装tp5
composer create-project topthink/think=5.0.* tp5 --prefer-dist
3、如果出现 Could not find package topthink/think with version 5.0.*. 执行命令
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ 全局镜像切换