Laravel PHP Command Not Found

I have installed Laravel using composer without problems, but when I try to execute “laravel” in my terminal I have this typical error:

-bash: laravel: command not found

If I read the documentation of the official site I need to do that:

Make sure to place the ~/.composer/vendor/bin directory in your PATH so the laravel executable is found when you run the laravel command in your terminal.

But I don’t know how to do (I’m new on terminal console commands).

Can you help me with that? Thanks!!

20 Answers
20

Leave a Comment