"Box: laravel/homestead-7" 生成 "sh.exe":box:: command not found"
"Box: laravel/homestead-7" producing "sh.exe":box:: command not found"
目标:安装 homestead 以便我可以安装 laravel
我正在关注 official instructions 尝试安装宅基地。
到目前为止,我在 Git Bash 终端上:
- 安装了 vag运行t 盒和虚拟盒,效果很好。还将 laravel/homestead 框添加到 vag运行t 安装
- 克隆了 Homestead Repo
- 克隆了 Homestead Repo
的 php7 b运行d
- 成功运行'bash init.sh'
- 已通过 运行ning "git clone -b php-7 https://github.com/laravel/homestead.git Homestead7
初始化宅基地
现在当我尝试 运行:
box: laravel/homestead-7
终端给我:
sh.exe": box:: command not found
目前,Homestead 文件夹位于以下路径:
C:\Users\Gil.vag运行t.d\boxes\homestead\Homestead
有谁知道为什么会这样以及解决方法吗?
到目前为止,我已经研究了 Google 但似乎没有解决我的特定问题:
cant-install-vagrant-box-laravel-homestead
您需要仔细阅读:
Next, add then the box
directive to the top of your ~/.homestead/Homestead.yaml
file (on a new line after --- mark):
...
这意味着您需要在文本编辑器中打开命名的文件并进行修改。
目标:安装 homestead 以便我可以安装 laravel
我正在关注 official instructions 尝试安装宅基地。
到目前为止,我在 Git Bash 终端上:
- 安装了 vag运行t 盒和虚拟盒,效果很好。还将 laravel/homestead 框添加到 vag运行t 安装
- 克隆了 Homestead Repo
- 克隆了 Homestead Repo 的 php7 b运行d
- 成功运行'bash init.sh'
- 已通过 运行ning "git clone -b php-7 https://github.com/laravel/homestead.git Homestead7 初始化宅基地
现在当我尝试 运行:
box: laravel/homestead-7
终端给我:
sh.exe": box:: command not found
目前,Homestead 文件夹位于以下路径:
C:\Users\Gil.vag运行t.d\boxes\homestead\Homestead
有谁知道为什么会这样以及解决方法吗?
到目前为止,我已经研究了 Google 但似乎没有解决我的特定问题:
cant-install-vagrant-box-laravel-homestead
您需要仔细阅读:
Next, add then the
box
directive to the top of your~/.homestead/Homestead.yaml
file (on a new line after --- mark):
...
这意味着您需要在文本编辑器中打开命名的文件并进行修改。