How to add a downloaded .box file to Vagrant?

Petrus Theron picture Petrus Theron · Feb 27, 2014 · Viewed 101.5k times · Source

How do I add a downloaded .box file to Vagrant's list of available boxes? The .box file is located on an external drive.

I tried running vagrant box add my-box d:/path/to/box, but Vagrant interprets the path as a URL.

Answer

Petrus Theron picture Petrus Theron · Feb 28, 2014

Solution:

vagrant box add my-box file:///d:/path/to/file.box

Has to be in a URL format.