0

laravel command is not found

I tried installing Laravel in CentOS but it returned the not found error.

composer global require " laravel/installer" 
laravel new [project-name]

I came to know that the error exists because of path not added. If this is the exact solution, then how and where to add the path..??

Laravel Add a comment
jayden
asked Feb 16 2017

Answer

0

To add the path run the below command

export PATH="~/.composer/vendor/bin:$PATH"
Add a comment
jagannatharumugam
asked Feb 16 2017
edited Oct 05 2018
Post your Answer