Laravel

[SOLVED] zsh: command not found laravel

By March 25, 2020 No Comments

If you receive this error then there is issue with the path.You have to edit the .zshrc file and add this line


export PATH="$HOME/.composer/vendor/bin:$PATH"

To edit the file run following command from terminal

nano ~/.zshrc

then enter this line inside that file
export PATH="$HOME/.composer/vendor/bin:$PATH"

To save press Control + X buttons.

Then press Y to save and hit enter.

Leave a Reply