Skip to content

Instantly share code, notes, and snippets.

@libern
Forked from idecardo/homestead-manual-install.md
Created September 30, 2018 02:00
Show Gist options
  • Save libern/8c65914d4687c91b6a17a179b2fc508f to your computer and use it in GitHub Desktop.
Save libern/8c65914d4687c91b6a17a179b2fc508f 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/6.3.0/providers/virtualbox.box

You can change the version of homestead box. Current version: 6.3.0.

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 file:///c:/users/idecardo/downloads/virtualbox.box

Change the path to where you stored your downloaded homestead box.

Update homestead box

Navigate to vagrant directory:

c:/users/idecardo/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead

Create a metadata_url file and add this link:

https://app.vagrantup.com/laravel/homestead

Do not add a newline.

Rename folder 0 to 6.3.0

6.3.0 is your homestead box version.

Alternative

Using gitbash, within c:/users/idecardo/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead directory:

touch metadata_url
echo -n 'https://app.vagrantup.com/laravel/homestead' > metadata_url
mv 0 6.3.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment