Laravel Homestead is an official, pre-packaged Vagrant box that provides you a wonderful development environment without requiring you to install PHP, HHVM, a web server, and any other server software on your local machine. Read more...
Download homestead box:
https://app.vagrantup.com/laravel/boxes/homestead/versions/8.0.1/providers/virtualbox.box
You have to change the version of homestead box. Current version:
8.0.1
.You can get the latest version number there: https://app.vagrantup.com/laravel/boxes/homestead
After downloading the box, rename it to virtualbox.box
or whatever name you like.
Don't forget to include the
.box
extension.
Add the downloaded homestead box to vagrant:
vagrant box add laravel/homestead ~/Downloads/virtualbox.box
Change the path to where you stored your downloaded homestead box.
Navigate to vagrant directory:
cd ~/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead
Create a metadata_url
file and add this link:
https://app.vagrantup.com/laravel/boxes/homestead
Do not add a newline.
Rename folder 0
to 8.0.1
8.0.1
is your homestead box version.
cd ~/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead
echo -n 'https://app.vagrantup.com/laravel/boxes/homestead' > metadata_url
mv 0 8.0.1