Skip to content

Instantly share code, notes, and snippets.

@m5lil
Last active January 14, 2018 18:59
Show Gist options
  • Save m5lil/f91fb779a6dd5e0b6c4bac2f49fd97af to your computer and use it in GitHub Desktop.
Save m5lil/f91fb779a6dd5e0b6c4bac2f49fd97af to your computer and use it in GitHub Desktop.
Mac initialise via Terminal

X-code Command Line Tools

$ xcode-select --install

Oh-My-Zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Install Homebrew and so

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

brew install wget
brew install mysql
brew services start mysql

Composer

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php --filename=composer
php -r "unlink('composer-setup.php');"
mv composer /usr/local/bin/composer
export PATH="$PATH:$HOME/.composer/vendor/bin"

Valet

md Sites
cd Sites
composer global require "laravel/installer"
composer global require laravel/valet
valet install
valet start
valet park
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment