简体   繁体   中英

bash : vagrant commands not found

I am a beginner so please someone should show me kindness by showing me how to resolve my issue as a student. I've installed vagrant on git bash but every command seems to be telling me bash: vagrant command not found even vagrant halt is not working. please what do I do???

I wanted to install docker engine so i started by installing vagrant with git bash. Everything was successful so I tried

sudo yum install docker

The answer was: no command found

Then I tried sudo -i to get to the root and run the command again. Answer was bash: vagrant command not found

From here on all commands I try give me the same answer. I even tried to force vagrant halt but the same answer comes out.

If you receive an error that Vagrant is not found, try logging out and logging back in to your system (particularly necessary for Windows). $ vagrant Usage: vagrant [options] [] -v, --version Print the version and exit.

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