首页 > 代码库 > laravel command

laravel command

Ubuntu 16.04

Install laravel installer,

composer global require "laravel/installer"

Edit environment config,

nano .bashrc

Then add,

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

Then reload path config,

source ~/.bashrc

For mac,

echo ‘export PATH="$HOME/.composer/vendor/bin:$PATH"‘ > ~/.bashrc
source ~/.bashrc
 

laravel command