Last active
January 26, 2018 22:41
-
-
Save crashGoBoom/6110bf95c975471caccbb445f76cd450 to your computer and use it in GitHub Desktop.
Installing Laravel - Mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer | |
# to fix this error "file_put_contents(./composer.json): failed to open stream: Permission denied" | |
# take ownership of the .composer folder. | |
sudo chown -R $USER ~/.composer | |
# next install laravel | |
composer global require "laravel/installer" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment