currently I am unable to run Laravel new command to create new project.
I get the following error:
bash: laravel: Command not found
I need to add the path:
$HOME/.composer/vendor/bin
But I have never worked with CentOS, I have done once in Ubuntu but I cant find any article on how to proceed with .bashrc in CentOS.
I did ran this command in Terminal:
export PATH="$PATH:~/.composer/vendor/bin"
Then I tried :
source ~/.bashrc
Both of the above command ran and no error was thrown and no output. I am not sure if those command even work for CentOS 6.
I tried : Laravel new blog after above steps and same output Laravel not found. What am I doing wrong or how do I fix this issue ?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire