How to upgrade Valet To Valet 2.0 ?

devquora
devquora

Posted On: Jun 08, 2021

 

Upgrading valet to v2 is simple and can be completed in just a few steps. First create a backup of your ~/.valet folder. Then uninstall your original:

  • valet stop
  • valet uninstall

 

Now, upgrade to the latest version of Valet. If you installed Valet via Composer, you should use the following command to update to the latest major version:

  • composer global require laravel/valet

After the fresh Valet source code has been downloaded, you should run the install command:

  • valet install
  • valet restart

 

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Laravel 9 interview questions

    List Server Requirements for installing Laravel Framework

    There is quite a requisite for the installation of Laravel 6. And, below is the list of the required servers that are needed for the installment of it.PHP 7.2.0 version Extension of BCMath PHP J...

    Laravel 9 interview questions

    What is Composer? How to install composer

    Composer is a tool to manage the dependency in PHP. Composer allows declaring the libraries of a project and the composer will install or update them for the user. It is not a package manager but deal...

    Laravel 9 interview questions

    How to create a Laravel Project using composer.

    To create a Laravel project using composer you can follow the given steps:Step 1: Point your browser address bar to https://getcomposer.org/composer.phar Step 2: Create a new Laravel project...