vagrant INIT 有效,vagrant UP - 无效
vagrant INIT works, vagrant UP - doesn't work
我已经安装了 Git, VirtualBox and Vargant on my Windows 10
电脑。
使用 git-bash 控制台启动 Vargant 时遇到问题。
当我这样做时 vargant init
- 这会创建 vargant 文件并且看起来没问题。
Alex@DESKTOP MINGW64 /d/shell
$ vagrant init hashicorp/precise32
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
但是当我尝试使用 vagrant up
命令启动 vagrant 时,我收到错误消息。
Alex@DESKTOP MINGW64 /d/shell
$ vagrant up
bash: vagrant: command not found
我已经尝试重新启动、重新安装这些软件、安装最新或以前版本的软件 - 没有任何帮助 - 仍然 bash: vagrant: command not found
。
shell我接下来要做什么来解决这个问题?
命令/程序名称是 vagrant
,而不是 vargant
。您在 init 中拼写正确,但其余示例拼写不正确。尝试 运行 vagrant up
,你应该已经准备就绪。
我已经安装了 Git, VirtualBox and Vargant on my Windows 10
电脑。
使用 git-bash 控制台启动 Vargant 时遇到问题。
当我这样做时 vargant init
- 这会创建 vargant 文件并且看起来没问题。
Alex@DESKTOP MINGW64 /d/shell
$ vagrant init hashicorp/precise32
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
但是当我尝试使用 vagrant up
命令启动 vagrant 时,我收到错误消息。
Alex@DESKTOP MINGW64 /d/shell
$ vagrant up
bash: vagrant: command not found
我已经尝试重新启动、重新安装这些软件、安装最新或以前版本的软件 - 没有任何帮助 - 仍然 bash: vagrant: command not found
。
shell我接下来要做什么来解决这个问题?
命令/程序名称是 vagrant
,而不是 vargant
。您在 init 中拼写正确,但其余示例拼写不正确。尝试 运行 vagrant up
,你应该已经准备就绪。