1.利用composer安装

  composer create-project topthink/think=5.0.* tp5 --prefer-dist tp5下载的文件名