10/6/2015 - 10:14 PM

Mac Yosemite Dev Machine Setup

Mac Yosemite Dev Machine Setup


  • Install XCode from App Store.
  • Open XCode and agree to terms and conditions.

XCode CLI Tools

  • xcode-select --install

Install Homebrew

  • ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • brew doctor

Install Local PHP (For Sublime Linter & Composer)

  • brew tap homebrew/dupes
  • brew tap homebrew/versions
  • brew tap homebrew/homebrew-php
  • brew install php56 --with-homebrew-curl --without-bz2 --without-apache --without-fpm --without-ldap --without-mysql

Install MCrypt

  • brew install mcrypt php56-mcrypt

Install Composer

  • curl -sS https://getcomposer.org/installer | php
  • sudo mv composer.phar /usr/local/bin/composer

Install Vagrant

Install VMWare Fusion

Install Vagrant VMWare Plugin

  • vagrant plugin install vagrant-vmware-fusion
  • vagrant plugin license vagrant-vmware-fusion ~/license.lic

Install Homestead

  • vagrant box add laravel/homestead
  • git clone https://github.com/laravel/homestead Homestead
  • bash init.sh (From Homestead Repository Directory)
  • vim ~/homestead.yaml