Laravel Installation (Linux)


Example

IMPORTANT!! Valet is a tool designed for macOS, the version below is ported for Linux OS.

Prerequisites

  • Do not install valet as root or by using the sudo command.
  • Valet utilizes your local machine's HTTP port (port 80), therefore, you will not be able to use if Apache or Nginx are installed and running on the same machine.
  • An up to date version of composer is required to install and run Valet.

Installation

  • Run composer global require cpriego/valet-linux to install Valet globally.
  • Run the valet install command to finish the installation.

Post Install

During the installation process, Valet installed DnsMasq. It also registered Valet's daemon to automatically launch when your system starts, so you don't need to run valet start or valet install every time you reboot your machine.

The Official Documentation can be found here.