Created
November 25, 2014 03:32
-
-
Save lifesign/374ee95dea320b8f483e to your computer and use it in GitHub Desktop.
Installing Homestead 2.0 on a Mac
This file contains hidden or 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
# Add Homestead Vagrant box | |
vagrant box add laravel/homestead | |
# Install PHP 5.6 and Composer | |
brew update | |
brew tap homebrew/dupes | |
brew tap homebrew/php | |
brew install php56 | |
brew install composer | |
# Composer require Homestead | |
composer global require "laravel/homestead=~2.0" | |
# Create global homestead alias | |
sudo bash -c "echo 'alias homestead=~/.composer/vendor/bin/homestead' >> ~/.bashrc" | |
source ~/.bashrc | |
# Verify working | |
homestead --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this!