Skip to content

Instantly share code, notes, and snippets.

@idecardo
Last active November 16, 2023 08:34
Show Gist options
  • Save idecardo/deec25b8fa54976edb496d7ce7d320a7 to your computer and use it in GitHub Desktop.
Save idecardo/deec25b8fa54976edb496d7ce7d320a7 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/9.5.1/providers/virtualbox.box

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

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/boxes/homestead

Do not add a newline.

Rename folder 0 to 9.5.1

9.5.1 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/boxes/homestead' > metadata_url
mv 0 9.5.1
@adibpwd
Copy link

adibpwd commented Apr 24, 2022

when i run vagrant up download again like before

C:\Users\ilhamsj\Homestead>vagrant up
Bringing machine 'homestead' up with 'virtualbox' provider...
==> homestead: Box 'laravel/homestead' could not be found. Attempting to find and install...
    homestead: Box Provider: virtualbox
    homestead: Box Version: >= 9.5.0
==> homestead: Loading metadata for box 'laravel/homestead'
    homestead: URL: https://vagrantcloud.com/laravel/homestead
==> homestead: Adding box 'laravel/homestead' (v10.0.0-beta) for provider: virtualbox
    homestead: Downloading: https://vagrantcloud.com/laravel/boxes/homestead/versions/10.0.0-beta/providers/virtualbox.box
==> homestead: Box download is resuming from prior download progress
Download redirected to host: vagrantcloud-files-production.s3.amazonaws.com
Progress: 0% (Rate: 33352/s, Estimated time remaining: 3:11:16)           

i'm too, is you solved this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment