Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Mac OS X 10.11 El Capitan Setup

Developer setup for Mac OS X 10.11 El Capitan

Inspired by a Gist from kevinelliott - thanks!

Software

Install from App Store

  • Xcode - for command line tools required by Homebrew

Install from Third-Party Websites

Xcode Command Line Tools

Need to be installed for all the fne stuff in the latest section

Xcode > Preferences > Downloads > Command Line Tools

or

xcode-select --install

Homebrew

Run Xcode and accept the license! Homebrew can not install properly until this occurs.

Install Homebrew

If this is not a fresh install of Homebrew, go ahead and purge the complete installation first:

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

Now install Homebrew

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

Install common libraries via Homebrew

brew install curl git openssl libxml2 gpg tree ant libusb
brew install android-platform-tools

Install Cask application manager

brew install caskroom/cask/brew-cask

Install applications via Homebrew Cask

brew cask install firefox
brew cask install google-chrome
brew cask install google-drive
brew cask install google-hangouts
brew cask install google-photos-backup
brew cask install dropbox
brew cask install phpstorm
brew cask install github-desktop
brew cask install grandperspective
brew cask install iterm2
brew cask install skype
brew cask install transmit
brew cask install vlc
brew cask install keka
brew cask install gitbook
brew cask install poedit
brew cask install versions
brew cask install sourcetree
brew cask install moneymoney
brew cask install hyperdock
brew cask install keepassx
brew cask install textwrangler
brew cask install gimp
brew cask install silverlight
brew cask install calibre
brew cask install istat-menus
brew cask install handbrake
brew cask install dash
brew cask install heimdall-suite

The following software is still in testing and not part of my default setup:

brew cask install atom
brew cask install spotify
brew cask install steam
brew cask install anvil
brew cask install hipchat
brew cask install joinme
brew cask install livereload
brew cask install quicksilver
brew cask install slack

Configure browsers

Install Chrome extensions

Some extensions are not pulled from your Google account, so re-install theam manully now:

Firefox profiles

TODO make sure the profiles are registered

/Applications/Firefox.app/Contents/MacOS/firefox-bin -P

OS X Preferences

# Show the ~/Library folder
chflags nohidden ~/Library

# Store screenshots in subfolder on desktop
mkdir ~/Desktop/Screenshots
defaults write com.apple.screencapture location ~/Desktop/Screenshots
# Save screenshots in PNG format (other options: BMP, GIF, JPG, PDF, TIFF)
defaults write com.apple.screencapture type -string "png"

# Get rid of the unused dashboard
defaults write com.apple.dashboard mcx-disabled -bool true
defaults write com.apple.dock dashboard-in-overlay -bool true

# Display all files in Finder
defaults write com.apple.finder AppleShowAllFiles TRUE
defaults write NSGlobalDomain AppleShowAllExtensions -bool true

After setting all the preferences, you need to reboot or at least restart Finder:

killall Finder

If you are curious, check this file for more possible settings.

Server and development

Setup Github

ssh-keygen -t rsa -C "kpapst@gmx.net"

# Copy ssh key to github.com
subl ~/.ssh/id_rsa.pub

# Test connection
ssh -T git@github.com

# Set git config values
git config --global user.name "Kevin Papst"
git config --global user.email "kpapst@gmx.net"
git config --global github.user kevinpapst
git config --global github.token your_token_here
git config --global color.ui true

Docker

brew install docker docker-machine

Database

brew install mariadb

Ruby & Gems

Prepare a sandboxed ruby environment

brew install rbenv
rbenv init
rbenv install 2.3.1
rbenv global 2.3.1

within we install some gems

gem install github-pages
gem install rubygems-update
gem install json
gem install RedCloth
gem install scss
gem install bundle

Vagrant and plugins

brew cask install vagrant

Shell & .dotfiles

Install custom .dotfiles at the end, cause we utilize some of the previously installed packages

git clone https://github.com/kevinpapst/dotfiles.git ~/.dotfiles
echo "source ~/.dotfiles/base.sh" >> ~/.bash_profile
source ~/.dotfiles/base.sh
@jprichards

This comment has been minimized.

Copy link

jprichards commented Sep 24, 2016

In order for the screencapture location change to work, you have to 'killall SystemUIServer'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.