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