Skip to content

Instantly share code, notes, and snippets.

@damianesteban
Forked from danguita/osx-development-setup.md
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save damianesteban/cfaa14b62b39e38bb2d5 to your computer and use it in GitHub Desktop.
Save damianesteban/cfaa14b62b39e38bb2d5 to your computer and use it in GitHub Desktop.
# Command Line Tools via Xcode
1. Get Xcode from App Store
2. Open Xcode
3. Go to Preferences
4. Downloads > Components > Command Line Tools > Install
# or
xcode-select --install
# Homebrew
http://mxcl.github.com/homebrew/
# Homebrew Cask
# http://caskroom.io/
brew install caskroom/cask/brew-cask
# Dropbox
brew cask install dropbpox
# Google Chrome
brew cask install google-chrome
# iTerm2
brew cask install iterm2
# Git
brew install git
brew install git-extras # Git utilities
brew install tig # front-end to Git (ncurses)
brew install gh # GitHub wrapper
# Updated Ack
brew install ack
# Updated grep
brew tap homebrew/dupes
brew install grep
# Updated perl
brew tap homebrew/versions
brew install perl
brew link perl --force
# Updated python/pip
brew install python
pip install --upgrade setuptools
pip install --upgrade pip
# freetype
brew install freetype
ln -s /usr/local/opt/freetype/include/freetype2 /usr/local/include/freetype
# Updated curl
brew install curl
brew link curl --force
# Updated bash
brew install bash
# findutils
brew install findutils
# GNU tar
brew install gnu-tar
# GNU sed
brew install gnu-sed
# GnuPG
brew install gpg
# ZSH
brew install zsh
# system-wide environment settings
sudo mv /etc/zshenv /etc/zprofile
# Vim
brew install vim --with-lua
brew install macvim
mkdir ~/Applications
brew linkapps
# Htop (system top)
brew install htop
# Exuberant Ctags
brew install ctags
# Ranger (CLI file manager)
brew install ranger
# Throw OSX notifications
brew install terminal-notifier
# Gist client
brew install gist
gist --login
# Tmux
brew install reattach-to-user-namespace
brew install tmux
# Rainbarf
brew install rainbarf
# Postgresql
brew install postgresql
initdb /usr/local/var/postgres -E utf8
# Avoid passing a host
sudo mkdir /var/pgsql_socket
sudo ln -s /private/tmp/.s.PGSQL.5432 /var/pgsql_socket/
# Install pg gem on x86_64
ARCHFLAGS="-arch x86_64" gem install pg
# MySQL
brew install mysql
# Elasticsearch
brew install elasticsearch
# Elasticsearch-head plugin
/usr/local/Cellar/elasticsearch/0.90.3/bin/plugin -install mobz/elasticsearch-head
open http://localhost:9200/_plugin/head/
# Redis
brew install redis
# Capybara-webkit dependencies
brew install qt
# Image editing & Rmagick dependencies
brew install imagemagick --disable-openmp --build-from-source
brew install gs
# Enable gem usage
cd /usr/local/Cellar/imagemagick/6.8.6-3/lib
ln -s libMagick++-6.Q16.1.dylib libMagick++.dylib
# Weechat
brew install weechat --with-perl --with-ruby
# Install scripts within Weechat:
# /script install buffers.pl beep.pl
# TOR for SASL authentication
brew install tor
# Set up IRC SASL:
# * http://www.weechat.org/files/doc/stable/weechat_user.en.html#irc_sasl_authentication
# * http://freenode.net/irc_servers.shtml#tor
# Twitter client
sudo pip install rainbowstream
# Run rainbowstream -iot to enable image-on-term
# Dotfiles and libraries
git clone https://github.com/danguita/dotfiles
rake install
# Chruby
brew install chruby
brew install ruby-install
brew install chgems
# Install rubies
ruby-install ruby 1.9.3
ruby-install ruby 2.0.0
# Nodejs
brew install node
# npm
curl https://npmjs.org/install.sh | sh
# nvm
curl https://raw.github.com/creationix/nvm/master/install.sh | sh
# bower
npm install bower
# VirtualBox
brew cask install virtualbox
# Vagrant
brew cask install vagrant
# Install VirtualBox Guest Additions
vagrant plugin install vagrant-vbguest
# Packer
brew tap homebrew/binary
brew install packer
# XQuartz/X11 support
brew cask install xquartz
# Java Runtime
http://support.apple.com/kb/dl1572
# Microsoft IE OVA images
# http://www.modern.ie/en-us/virtualization-tools
curl -O http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/OSX/IE6_WinXP.ova.zip
curl -O http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/OSX/IE7_Vista.ova.zip
curl -O http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/OSX/IE8_Win7.zip
curl -O http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/OSX/IE9_Win7.zip
curl -O http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/OSX/IE10_Win8.ova.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment