Skip to content

Instantly share code, notes, and snippets.

@asamofal
Forked from idecardo/homestead-manual-install.md
Last active August 15, 2019 07:41
Show Gist options
  • Save asamofal/23701688f354f0d02d91532548751812 to your computer and use it in GitHub Desktop.
Save asamofal/23701688f354f0d02d91532548751812 to your computer and use it in GitHub Desktop.
Laravel Homestead Manual Installation

Getting Started

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

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.

Vagrant

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.

Update 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.

Alternative

cd ~/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead
echo -n 'https://app.vagrantup.com/laravel/boxes/homestead' > metadata_url
mv 0 8.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment