Skip to content

Instantly share code, notes, and snippets.

@reekoheek
Last active March 29, 2018 13:29
Show Gist options
  • Save reekoheek/3c6caf8c6176e3d45ebf to your computer and use it in GitHub Desktop.
Save reekoheek/3c6caf8c6176e3d45ebf to your computer and use it in GitHub Desktop.
My osx brew first install script
#!/bin/bash
# install command line tool
xcode-select --install
# install brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
# install brew service
brew tap gapple/services
# taps
brew tap caskroom/cask
brew tap caskroom/fonts
brew tap caskroom/versions
brew tap caskroom/unofficial
# install brew desc
brew tap telemachus/desc
brew update
# install cask
brew install caskroom/cask/brew-cask
# install bash-completion
brew install bash-completion
# install php5-fpm
# see https://gist.github.com/bobthecow/85ad6dfb594d9215b42b
brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/homebrew-php
brew install --without-apache --with-fpm --with-mysql php56
# Fix PEAR permissions
chmod -R ug+w `brew --prefix php56`/lib/php
pear config-set php_ini /usr/local/etc/php/5.6/php.ini
# Fix PEAR config and upgrade
pear config-set auto_discover 1
pear update-channels
pear upgrade
# PHP extensions
# You might want some more. Use `brew search php56` to see what's available.
brew install php56-mongo
brew install php56-memcache
brew install composer
# install servers
# see https://gilmendes.wordpress.com/2014/07/09/install-nginx-php-fpm-mysql-and-phpmyadmin-on-os-x-yosemite/
brew install nginx
brew install mongodb
brew install mysql
# install else
brew install axel
brew install tmux
brew install tor
# install docker
brew cask install virtualbox
brew install boot2docker
# install meld
brew cask install xquartz
brew install homebrew/x11/meld
# install front-end apps
brew cask install appcleaner
brew cask install google-chrome
brew cask install google-chrome-canary
brew cask install iterm2
brew cask install java
brew cask install caffeine
brew cask install flashlight
brew cask install flux
brew cask install font-inconsolata
brew cask install mysqlworkbench
brew cask install robomongo
brew cask install skype
brew cask install sourcetree
brew cask install sublime-text3
brew cask install vlc
# install ntfs write
brew cask install osxfuse
brew install ntfs-3g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment