Ubuntu Valet command not found

David Carr

Ubuntu Valet command not found

Ubuntu Development

On a new install of Ubuntu installing Valet worked fine at the composer stage but when trying to run valet commands resulted in 'Valet: command not found" errors. The problem is composer has not been added to the $PATH I tried adding the composer path to .profile which I think was not been executed the way I thought. Instead, I updated the path inside .bash_profile:


Then updated my path:

export PATH=~/.composer/vendor/bin:$PATH

To ensure it took effect I reloaded the profile by running the command:

source ~/.profile

After then I was able to run Valet commands.

Laravel Modules Book by David Carr

Help support the blog so that I can continue creating new content!

Subscribe to my newsletter

Subscribe and get my books and product announcements.

© 2009 - 2022 DC Blog. All code MIT license. All rights reserved.