Question : zsh: command not found: laravel
Answered by : terrible-tuatara-04jh8ssw2ich
export PATH="$HOME/.composer/vendor/bin:$PATH"
Source : | Last Update : Mon, 17 Aug 20
Question : zsh: command not found: laravel
Answered by : breakable-baboon-md4fm5tl6l6b
If you want it to work only once you can run this command in your terminal
$ export PATH="$HOME/.composer/vendor/bin:$PATH"
But if you want it to be stored and work whenever you open a new terminal you need to do the following steps:
1) open the ~/.zshrc file by running the following command $ nano ~/.zshrc
2) at the bottom of that file add this export PATH="$HOME/.composer/vendor/bin:$PATH"
then to save hit (ctrl + x) then (Y) then finally hit enter(or return).
Source : | Last Update : Sun, 16 Jan 22
Question : zsh: command not found: laravel
Answered by : alex-otieno
echo "PATH=\"$HOME/.config/composer/vendor/bin:$PATH\"" >> ~/.zshrc
source ~/.zshrc
Source : https://stackoverflow.com/questions/36510327/zsh-command-not-found-laravel | Last Update : Tue, 29 Mar 22
Question : zsh: command not found: laravel
Answered by : talaatmagdy
export PATH="$HOME/.config/composer/vendor/bin:$PATH"
Source : https://stackoverflow.com/a/42254252/13916928 | Last Update : Mon, 28 Dec 20