laravel command not found
snippet in php

laravel command not found after installing laravel mac

user7753

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

laravel: command not found

user7297

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

source ~/.bashrc

laravel command not found

user2545

echo 'export PATH="~/.config/composer/vendor/bin"' >> ~/.bashrc
# or
echo 'export PATH="~/.config/composer/vendor/bin"' >> ~/.zshrc

command not found: laravel

user8021

# For mac just run these 2 commands
echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"' >>  ~/.zshrc
source ~/.zshrc