Skip to content

Instantly share code, notes, and snippets.

@lifesign
Created November 25, 2014 03:32
Show Gist options
  • Save lifesign/374ee95dea320b8f483e to your computer and use it in GitHub Desktop.
Save lifesign/374ee95dea320b8f483e to your computer and use it in GitHub Desktop.
Installing Homestead 2.0 on a Mac
# 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
@marlonassuncao
Copy link

Thanks for this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment