Install guide for Laravel Valet

Our quick guide to installing Laravel Valet on Linux:

composer global require cpriego/valet-linux

Valet should be run from the path. The local path, not the global path. Use these instructions to update your path:

echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> ~/.bashrc

The first time you run Valet you might get this error:

[email protected]:~/Code$ valet install
You have missing Valet dependiencies:
- jq
- xsel
- certutil

Do this:

sudo apt-get install network-manager libnss3-tools jq xsel

Final step:

mkdir ~/Code
valet park

References:
https://cpriego.github.io/valet-linux/#installation
https://stackoverflow.com/questions/25373188/laravel-installation-how-to-place-the-composer-vendor-bin-directory-in-your
https://cpriego.github.io/valet-linux/requirements

Laravel Docs:
https://laravel.com/docs/5.7/valet#installation

Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top