## 添加VirtualBox
接下来,将刚才下载的virtualbox添加到VirtualBox虚拟机里去。在命令控制台执行下列命令:
~~~
c: //切换到c:盘
cd C:\Users\Administrator\Homestead //切换到Homestead目录
vagrant box add E:\metadata.json //添加虚拟机
~~~
执行结果:
~~~
$ vagrant box add e:\metadata.json
==> box: Loading metadata for box 'e:\metadata.json'
box: URL: file:///e:/metadata.json
==> box: Adding box 'laravel/homestead' (v1.1.0) for provider: virtualbox
box: Unpacking necessary files from: file:///e:/virtualbox.box
box:
==> box: Successfully added box 'laravel/homestead' (v1.1.0) for 'virtualbox'!
~~~
![](https://box.kancloud.cn/81c106426b4abc3b956479c8ebf18561_677x392.png)
虚拟机添加成功