Advertisement
Guest User

Installing Homestead 2.0 on a Mac

a guest
Nov 17th, 2014
4,105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.45 KB | None | 0 0
  1. # Add Homestead Vagrant box
  2. vagrant box add laravel/homestead
  3.  
  4. # Install PHP 5.6 and Composer
  5. brew update
  6. brew tap homebrew/dupes
  7. brew tap homebrew/php
  8. brew install php56
  9. brew install composer
  10.  
  11. # Composer require Homestead
  12. composer global require "laravel/homestead=~2.0"
  13.  
  14. # Create global homestead alias
  15. sudo bash -c "echo 'alias homestead=~/.composer/vendor/bin/homestead' >> ~/.bashrc"
  16. source ~/.bashrc
  17.  
  18. # Verify working
  19. homestead --version
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement