Vagrant Command Stopped Working: Command not Found on WIndows

后端 未结 2 434
予麋鹿
予麋鹿 2021-01-18 05:26

I\'ve been trying to fire up vagrant from the Homestead folder on Windows but keeps showing

bash: vagrant: command not found

I suppose it is an issue with c

相关标签:
2条回答
  • Okay, I had an issue with the system environment variables.

    Go to: System Properties -> Advanced -> Click Environment Variables

    Then Click Path on the System variables section, Add New and type in C:/HashiCorp/Vagrant/bin depending on your vagrant path.

    Click Ok and you're done!

    0 讨论(0)
  • 2021-01-18 05:46

    It means that its missing from your System PATH variable.

    To set again:

    1. Click on "Start Menu"
    2. Search "Environment Variable" or "env"
    3. Click PATH
    4. Add New
    5. Paste This C:\HashiCrop\Vagrant\bin [Vagrant installation path]

    Hope it will solve your problem.

    0 讨论(0)
提交回复
热议问题