标签:env bashrc strong laravel .com lob com path pre
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
标签:env bashrc strong laravel .com lob com path pre
原文地址:http://www.cnblogs.com/dingqing/p/6416531.html