[SOLVED] zsh: command not found laravel

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.
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

Your email address will not be published. Required fields are marked *