Search code examples
laravelvagrantvirtualboxhomesteadlaravel-8

How to solve homestead version in Vagrant


For a new project we use Laravel 8 and Homestead. This project uses php8. I already have installed VirtualBox, Vagrant and Homestead. When typing "vagrant up" I keep getting an error message. I've been trying to get it to work for more than 1 day but it doesn't work. Hopefully you can help me with it.

thanks in advance

enter image description here


Solution

  • The problem is that you are on the master branch which is unstable. You need to switch to the release branch in order to get the latest stable homestead release.

    From the installation guide:

    After cloning the Laravel Homestead repository, you should checkout the release branch. This branch always contains the latest stable release of Homestead:

    cd ~/Homestead
    
    git checkout release