Add PATH so the laravel executable can be located by your system

Add PATH so the laravel executable can be located by your system

A first problem for me was thatI didn;t know where to add ~/.composer/vendor/bin .

I searched on the internet and I read all kind of answers like edit ~/.basrc or ~/.bash-profile or ~/.z something.

The quick answer is to give the following command in terminal and is fixed:

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