默认在
C:Users***.vagrant.d
然后下面有boxes目录
想迁移到其它目录
setx VAGRANT_HOME "/d/.vagrant.d/"
setx VAGRANT_HOME "D:/temp/.vagrant.d/"
打开环境变量对话框,发现已经加上了
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
参考: