how to install laravel on mac step by step code example Example: install laravel globally mac export PATH="$PATH:$HOME/.composer/vendor/bin"