I got an error.
$ valet install
[DomainException]
Unable to determine linked PHP.
install
\'which\' command returns:
This happens when your brew php gets Updated.
If you do brew install php this will work but will install php 7.2 by default.
If you want php@7.1 you have to do brew install php@7.1 this will install php7.1 and now when you restart valet valet restart you might get an error. Unable to determine linked PHP.
To make this work with php7.1 you have make brew link
brew link php71
you may have this error
Warning: php@7.1 is keg-only and must be linked with
to fix this
brew link --force php71
now valet should work on php7.1