Ubuntu | Development

David Carr

Ubuntu Valet command not found

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.

Domains are often purchased from multiple providers, keeping track of where a domain is and its DNS settings can be tricky. Domain Mapper solves this by listing all your domains in one place. View your DNS settings and receive reminders to renew your domains. Try it today.

Support my work by donating with PayPal.

Subscribe to my newsletter

Subscribe and get my books and product announcements.

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