Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to install laravel on mac

# install laravel on mac
$ brew install composer
$ composer global require "laravel/installer" 
$ sudo nano  ~/.bash_profile 
#add following line in .bash_profile
export PATH="~/.composer/vendor/bin:$PATH"
$ source ~/.bash_profile  
$ laravel new firstProject
$ php artisan serv  
 
PREVIOUS NEXT
Tagged: #install #laravel #mac
ADD COMMENT
Topic
Name
3+2 =