I got an error.
$ valet install [DomainException] Unable to determine linked PHP. install
\'which\' command returns:
I was going to update Laravel Valet from version 1.* to 2 and ran same error like this
Unable to determine linked PHP
The solution was to run
composer global update
before I ran
valet install