Skip to content

Instantly share code, notes, and snippets.

@karlding
Created January 14, 2018 05:45
Show Gist options
  • Star 21 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save karlding/bc4207ab7471ba2f9b042e418ef6b100 to your computer and use it in GitHub Desktop.
Save karlding/bc4207ab7471ba2f9b042e418ef6b100 to your computer and use it in GitHub Desktop.
how to download vagrant boxes manually

Download Vagrant boxes manually

In this example, we're going to download the Midnight Sun box.

# The box URL is https://app.vagrantup.com/uwmidsun/boxes/box/versions/2.1.0
# In general, we just take the box URL, and then append the provider URL
# https://app.vagrantup.com/<organization name>/boxes/<box name>/versions/<version>/providers/<provider>.box
wget https://app.vagrantup.com/uwmidsun/boxes/box/versions/2.1.0/providers/virtualbox.box -O box-2.1.0.box

# Then you can add it to Vagrant
vagrant box add uwmidsun/box box-2.1.0.box
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment