Skip to content

Instantly share code, notes, and snippets.

@crashGoBoom
Last active January 26, 2018 22:41
Show Gist options
  • Save crashGoBoom/6110bf95c975471caccbb445f76cd450 to your computer and use it in GitHub Desktop.
Save crashGoBoom/6110bf95c975471caccbb445f76cd450 to your computer and use it in GitHub Desktop.
Installing Laravel - Mac
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