Reputation: 13
Laravel's command doesn't work for me.
laravel new potato
-bash: laravel: command not found
I have already installed composer, vendor, and laravel.
I edited the path with nano
sudo nano ~/.bash_profile
I put the path from laravel, I was following the Laracast's tutorial
export $Path = $HOME/.config/composer/vendor/bin
It doesn't work for me I search same info and they say to use
export PATH="$PATH:$HOME/.config/composer/vendor/bin"
And after that use
source ~/.bash_profile
Upvotes: 1
Views: 53
Reputation: 2012
try this:
composer create-project laravel/laravel <<project_directory>> --prefer-dist
Upvotes: 1