IMPORTANT!! Valet is a tool designed for macOS only.
Prerequisites
brew update in the terminal.Installation
brew install homebrew/php/php71.composer global require laravel/valet.~/.composer/vendor/bin directory to your system's "PATH" if it is not already there.valet install command.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.