Answered by : unfunny-flamingo
export PATH=~/.config/composer/vendor/bin:$PATH
source ~/.bashrc
Source : https://stackoverflow.com/questions/35211862/laravel-command-not-found/35213546 | Last Update : Tue, 08 Sep 20
Answered by : unfunny-flamingo
export PATH="~/.config/composer/vendor/bin:$PATH"
Source : https://gist.github.com/zunayed93/80ba8611a88623c20f9bb6c7b4e25792 | Last Update : Tue, 22 Sep 20
Answered by : careful-cowfish-gogsipaxme7d
source ~/.bashrc
Source : https://stackoverflow.com/questions/28597648/laravel-5-installation-in-ubuntu-laravel-command-not-found | Last Update : Sat, 03 Apr 21
Answered by : csar-cruz
echo 'export PATH="~/.config/composer/vendor/bin"' >> ~/.bashrc
# or
echo 'export PATH="~/.config/composer/vendor/bin"' >> ~/.zshrc
Source : | Last Update : Sun, 04 Oct 20
Answered by : snippets
#these commands executed on Ubunyu 20.04
export PATH=~/.config/composer/vendor/bin:$PATH
source ~/.bashrc
Source : | Last Update : Mon, 07 Dec 20
Answered by : careful-cowfish-gogsipaxme7d
export PATH="$PATH:$HOME/.config/composer/vendor/bin"
Source : https://stackoverflow.com/questions/28597648/laravel-5-installation-in-ubuntu-laravel-command-not-found | Last Update : Sat, 03 Apr 21
Answered by : careful-cowfish-gogsipaxme7d
composer global require "laravel/installer"
Source : https://stackoverflow.com/questions/28597648/laravel-5-installation-in-ubuntu-laravel-command-not-found | Last Update : Sat, 03 Apr 21
Answered by : skynet
#For Ubuntu 20.04 this will add laravel command to your PATH from CLI
#and append (>>) with standard output (echo) to your ~/.bashrc file
echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> ~/.bashrc
#Make sure your terminal does actually use ~/.bashrc and not ~/.bash_profile
#reload terminal path config
source ~/.bashrc
Source : | Last Update : Tue, 17 Aug 21
Answered by : awful-antelope-moa1l00r34tf
# For mac just run these 2 commands
echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
Source : | Last Update : Thu, 17 Dec 20
Answered by : careful-cowfish-gogsipaxme7d
nano .bashrc
Source : https://stackoverflow.com/questions/28597648/laravel-5-installation-in-ubuntu-laravel-command-not-found | Last Update : Sat, 03 Apr 21