Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ahmadshobirin/c894c9cc693bda4ac2f5244e86684bc8 to your computer and use it in GitHub Desktop.
Save ahmadshobirin/c894c9cc693bda4ac2f5244e86684bc8 to your computer and use it in GitHub Desktop.
Laravel or Lumen Command Not Found Ubuntu 20
#Make sure u have installed **Laravel or Lumen**
- composer global require laravel/installer
- composer global require "laravel/lumen-installer"
For zsh
echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> ~/.zshrc
source ~/.zshrc
For Bash
echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> ~/.bashrc
source ~/.zshrc
#Test ur Cli
laravel -V
lumen -V
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment