简体   繁体   中英

vagrant INIT works, vagrant UP - doesn't work

I have installed Git, VirtualBox and Vargant on my Windows 10 computer. Have problems with starting Vargant using git-bash console.

When I do vargant init - this create vargant file and looks like it's ok.

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.

But when I try to start vagrant with vagrant up command I receive error.

Alex@DESKTOP MINGW64 /d/shell
$ vagrant up
bash: vagrant: command not found

I have tried restarting, reinstalling these software, installing latest or previouse versions of software - nothing helps - still bash: vagrant: command not found .

What shell I do next to solve the problem?

the command / program name is vagrant , not vargant . You spell it correctly in the init, but the rest of your examples have it spelled incorrect. Try running vagrant up and you should be all set.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM