默认在
C:Users***.vagrant.d
然后下面有boxes目录
想迁移到其它目录
setx VAGRANT_HOME "/d/.vagrant.d/"
setx VAGRANT_HOME "D:/temp/.vagrant.d/"
打开环境变量对话框,发现已经加上了
![](file:///D:/temp/soft_data/Ynote/elesos@163.com/29a07180f3204877b24d86a17c268ec2/clipboard.png)
NOTE: This adds to the User Environment, if you want to add to the system/machine you need to add the /M option at the end of the command, for example:
setx VAGRANT_HOME "X:/your/path" /M
参考: