安装homestead遇到问题

composer global require "laravel/homestead=~2.0"
执行这个命令的时候一直是这样

(cmd中复制的)

D:\Program Files\Oracle\VirtualBox>composer global require "laravel/homestead=~2.0"
Changed current directory to C:/Users/yu/AppData/Roaming/Composer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
已邀请:

helloyu

赞同来自:

今天早晨又测试了一下,可能是网络问题,刚才再次执行
composer global require "laravel/homestead=~2.0"
提示安装失败了,于是去掉版本号执行
composer global require "laravel/homestead"

安装成功

helloyu

赞同来自:

然而安装的是3.X , 命令不一样,还在研究中

要回复问题请先登录注册