Vagrant命令停止工作:在Windows上找不到命令 [英] Vagrant Command Stopped Working: Command not Found on WIndows
问题描述
我一直在尝试从Windows上的Homestead文件夹启动流浪汉,但一直显示
I've been trying to fire up vagrant from the Homestead folder on Windows but keeps showing
重击:无业游民:未找到命令
bash: vagrant: command not found
我想这是Windows上命令配置的问题
I suppose it is an issue with configuration of commands on Windows
请问,对此该怎么办?预先感谢!
Please, what can be done about this? Thanks in advance!
推荐答案
好的,我的系统环境变量有问题.
Okay, I had an issue with the system environment variables.
转到:系统属性->高级->单击环境变量
Go to: System Properties -> Advanced -> Click Environment Variables
然后点击系统变量"部分上的路径,添加新内容并输入 C:/HashiCorp/Vagrant/bin 取决于您的流浪者之路.
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!
这篇关于Vagrant命令停止工作:在Windows上找不到命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!