Ubuntu Valet command not found

David Carr

1 min read - 6th Oct, 2018

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:

~/.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.

0 comments
Add a comment

Copyright © 2006 - 2024 DC Blog - All rights reserved.