Skip to content

Instantly share code, notes, and snippets.

@kevinpapst
Forked from kevinelliott/osx-10.11-setup.md
Last active February 18, 2025 07:39

Revisions

  1. kevinpapst revised this gist Aug 22, 2016. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -42,7 +42,7 @@ brew doctor
    ```
    ### Install common libraries via Homebrew
    ```bash
    brew install curl git openssl libxml2 gpg tree ant
    brew install curl git openssl libxml2 gpg tree ant libusb
    brew install android-platform-tools
    ```

    @@ -81,6 +81,7 @@ 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:
  2. kevinpapst revised this gist Aug 22, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -43,6 +43,7 @@ brew doctor
    ### Install common libraries via Homebrew
    ```bash
    brew install curl git openssl libxml2 gpg tree ant
    brew install android-platform-tools
    ```

    ## Install Cask application manager
  3. kevinpapst revised this gist Jun 13, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -42,7 +42,7 @@ brew doctor
    ```
    ### Install common libraries via Homebrew
    ```bash
    brew install curl git openssl libxml2 gpg tree
    brew install curl git openssl libxml2 gpg tree ant
    ```

    ## Install Cask application manager
  4. kevinpapst revised this gist Jun 11, 2016. 1 changed file with 11 additions and 40 deletions.
    51 changes: 11 additions & 40 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -111,61 +111,32 @@ TODO make sure the profiles are registered
    # OS X Preferences

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

    #Store screenshots in subfolder on desktop
    # 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"

    The following seetings need to be tested and are not yet part of my default setup:
    # 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

    ```bash
    # Display all files in Finder
    defaults write com.apple.finder AppleShowAllFiles TRUE
    defaults write NSGlobalDomain AppleShowAllExtensions -bool true
    defaults write com.apple.finder ShowStatusBar -bool true
    defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
    defaults write NSGlobalDomain com.apple.springing.enabled -bool true
    defaults write NSGlobalDomain com.apple.springing.delay -float 0
    defaults write com.apple.finder QLEnableTextSelection -bool true

    # Finder: show path bar
    defaults write com.apple.finder ShowPathbar -bool true

    # When performing a search, search the current folder by default
    defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"

    # Disable the warning when changing a file extension
    defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false

    # Expand save panel by default
    defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true

    # Check for software updates daily, not just once per week
    defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1

    # Use column view in all Finder windows by default
    # Four-letter codes for the other view modes: `icnv`, `clmv`, `Flwv`
    defaults write com.apple.finder FXPreferredViewStyle -string "clmv"

    # Set up Safari for development.
    defaults write com.apple.Safari IncludeInternalDebugMenu -bool true
    defaults write com.apple.Safari IncludeDevelopMenu -bool true
    defaults write com.apple.Safari WebKitDeveloperExtrasEnabledPreferenceKey -bool true
    defaults write com.apple.Safari "com.apple.Safari.ContentPageGroupIdentifier.WebKit2DeveloperExtrasEnabled" -bool true
    defaults write NSGlobalDomain WebKitDeveloperExtras -bool true

    # Save screenshots in PNG format (other options: BMP, GIF, JPG, PDF, TIFF)
    defaults write com.apple.screencapture type -string "png"
    ```

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

    ```bash
    killall Finder
    ```

    If you are curious, check [this file](https://github.com/mathiasbynens/dotfiles/blob/master/.osx) for more possible settings.


    # Server and development

  5. kevinpapst revised this gist Jun 11, 2016. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -227,7 +227,7 @@ brew cask install vagrant

    Install custom .dotfiles at the end, cause we utilize some of the previously installed packages
    ```bash
    git clone https://github.com/kevinpapst/dotfiles.git
    cd dotfiles
    source bootstrap.sh
    git clone https://github.com/kevinpapst/dotfiles.git ~/.dotfiles
    echo "source ~/.dotfiles/base.sh" >> ~/.bash_profile
    source ~/.dotfiles/base.sh
    ```
  6. kevinpapst revised this gist Jun 11, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Mac OS X 10.11 El Capitan
    # Developer setup for Mac OS X 10.11 El Capitan

    Inspired by a [Gist](https://gist.github.com/kevinelliott/e12aa642a8388baf2499) from [kevinelliott](https://gist.github.com/kevinelliott) - thanks!

  7. kevinpapst revised this gist Jun 11, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -42,7 +42,7 @@ brew doctor
    ```
    ### Install common libraries via Homebrew
    ```bash
    brew install curl git openssl libxml2 gpg
    brew install curl git openssl libxml2 gpg tree
    ```

    ## Install Cask application manager
  8. kevinpapst revised this gist Jun 11, 2016. 1 changed file with 26 additions and 12 deletions.
    38 changes: 26 additions & 12 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -42,7 +42,7 @@ brew doctor
    ```
    ### Install common libraries via Homebrew
    ```bash
    brew install curl git openssl libxml2
    brew install curl git openssl libxml2 gpg
    ```

    ## Install Cask application manager
    @@ -108,15 +108,6 @@ TODO make sure the profiles are registered
    /Applications/Firefox.app/Contents/MacOS/firefox-bin -P
    ```

    # Shell & .dotfiles

    Install custom .dotfiles
    ```bash
    git clone https://github.com/kevinpapst/dotfiles.git
    cd dotfiles
    source bootstrap.sh
    ```

    # OS X Preferences

    ```bash
    @@ -207,13 +198,36 @@ brew install docker docker-machine
    brew install mariadb
    ```

    ## Ruby Gems
    ## Ruby & Gems

    Prepare a sandboxed ruby environment
    ```bash
    gem install jekyll
    brew install rbenv
    rbenv init
    rbenv install 2.3.1
    rbenv global 2.3.1
    ```

    within we install some gems
    ```bash
    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
    ```bash
    git clone https://github.com/kevinpapst/dotfiles.git
    cd dotfiles
    source bootstrap.sh
    ```
  9. kevinpapst revised this gist Jun 11, 2016. 1 changed file with 6 additions and 17 deletions.
    23 changes: 6 additions & 17 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@ Inspired by a [Gist](https://gist.github.com/kevinelliott/e12aa642a8388baf2499)
    ## Install from Third-Party Websites

    * [Monosnap](https://www.monosnap.com/)
    * iResize
    * [iResize](http://daniele.ch/wordpress/osx-apps)

    ## Xcode Command Line Tools

    @@ -33,7 +33,6 @@ Run Xcode and accept the license! Homebrew can not install properly until this o
    If this is not a fresh install of Homebrew, go ahead and purge the complete installation first:
    ```bash
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
    brew doctor
    ```

    Now install Homebrew
    @@ -79,31 +78,21 @@ 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
    ```

    The following software is still in testing and not part of my default setup:
    ```bash
    brew cask install anvil
    brew cask install atom
    brew cask install authy-bluetooth
    brew cask install awareness
    brew cask install bartender
    brew cask install battery-guardian
    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 ngrok
    brew cask install quicksilver
    brew cask install rescuetime
    brew cask install satellite-eyes
    brew cask install sidestep
    brew cask install skitch
    brew cask install sonos
    brew cask install spotify
    brew cask install steam
    brew cask install slack
    brew cask install karabiner
    brew cask install gyazo
    ```

    # Configure browsers
  10. kevinpapst revised this gist Jun 11, 2016. 1 changed file with 22 additions and 21 deletions.
    43 changes: 22 additions & 21 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -10,19 +10,8 @@ Inspired by a [Gist](https://gist.github.com/kevinelliott/e12aa642a8388baf2499)

    ## Install from Third-Party Websites

    * [Dropbox](https://www.dropbox.com/install2)
    * [HyperDock](https://bahoom.com/hyperdock/)
    * Google Drive
    * Google Photos Backup
    * Monosnap - screenshooting
    * VLC - video player
    * [Keka](http://www.kekaosx.com/de/) - archive manager
    * [PHPStorm](https://www.jetbrains.com/phpstorm/download/) - PHP IDE
    * [MoneyMoney](https://moneymoney-app.com/) - banking app
    * POedit
    * Version
    * Sourcetree
    * GitBook
    * [Monosnap](https://www.monosnap.com/)
    * iResize

    ## Xcode Command Line Tools

    @@ -65,12 +54,31 @@ brew install caskroom/cask/brew-cask
    ### Install applications via Homebrew Cask
    ```bash
    brew cask install firefox
    brew cask install github-desktop
    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
    ```

    The following software is still in testing and not part of my default setup:
    @@ -85,7 +93,6 @@ brew cask install hipchat
    brew cask install joinme
    brew cask install livereload
    brew cask install ngrok
    brew cask install parallels-desktop
    brew cask install quicksilver
    brew cask install rescuetime
    brew cask install satellite-eyes
    @@ -220,10 +227,4 @@ gem install jekyll
    ## Vagrant and plugins
    ```
    brew cask install vagrant
    brew cask install vagrant-manager
    brew cask install parallels-desktop
    vagrant plugin install vagrant-parallels
    ```

    See http://parallels.github.io/vagrant-parallels/ for more details.
  11. kevinpapst revised this gist Jun 11, 2016. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -26,8 +26,11 @@ Inspired by a [Gist](https://gist.github.com/kevinelliott/e12aa642a8388baf2499)

    ## Xcode Command Line Tools

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

    `Xcode > Preferences > Downloads > Command Line Tools`

    or
    ```bash
    xcode-select --install
    ```
  12. kevinpapst revised this gist Jun 11, 2016. 1 changed file with 22 additions and 24 deletions.
    46 changes: 22 additions & 24 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -2,13 +2,13 @@

    Inspired by a [Gist](https://gist.github.com/kevinelliott/e12aa642a8388baf2499) from [kevinelliott](https://gist.github.com/kevinelliott) - thanks!

    ## Install Software
    # Software

    ### Install from App Store
    ## Install from App Store

    * [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12&uo=4) - for command line tools required by Homebrew

    ### Install from Third-Party Websites
    ## Install from Third-Party Websites

    * [Dropbox](https://www.dropbox.com/install2)
    * [HyperDock](https://bahoom.com/hyperdock/)
    @@ -24,19 +24,17 @@ Inspired by a [Gist](https://gist.github.com/kevinelliott/e12aa642a8388baf2499)
    * Sourcetree
    * GitBook

    #Xcode Command Line Tools
    ## Xcode Command Line Tools

    `Xcode > Preferences > Downloads > Command Line Tools`

    ```bash
    xcode-select --install
    ```

    #Homebrew
    # Homebrew

    ## Run Xcode and accept the license

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

    ## Install Homebrew

    @@ -61,7 +59,7 @@ brew install curl git openssl libxml2
    brew install caskroom/cask/brew-cask
    ```

    ## Install applications via Homebrew Cask
    ### Install applications via Homebrew Cask
    ```bash
    brew cask install firefox
    brew cask install github-desktop
    @@ -70,12 +68,10 @@ brew cask install grandperspective
    brew cask install iterm2
    brew cask install skype
    brew cask install transmit
    brew cask install vagrant
    ```

    The following software is still in testing and not part of my default setup:
    ```bash
    brew cask install vagrant-manager
    brew cask install anvil
    brew cask install atom
    brew cask install authy-bluetooth
    @@ -100,29 +96,20 @@ brew cask install karabiner
    brew cask install gyazo
    ```

    ## Configure browsers
    # Configure browsers

    ### Install Chrome extensions
    ## Install Chrome extensions
    Some extensions are not pulled from your Google account, so re-install theam manully now:
    * [Postman REST client](https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop)

    ### Firefox profiles
    ## Firefox profiles

    TODO make sure the profiles are registered
    ```bash
    /Applications/Firefox.app/Contents/MacOS/firefox-bin -P
    ```


    ## Install Parallels plugin for Vagrant
    ```
    vagrant plugin install vagrant-parallels
    ```

    See http://parallels.github.io/vagrant-parallels/ for more details.


    #Shell & .dotfiles
    # Shell & .dotfiles

    Install custom .dotfiles
    ```bash
    @@ -226,3 +213,14 @@ brew install mariadb
    ```bash
    gem install jekyll
    ```

    ## Vagrant and plugins
    ```
    brew cask install vagrant
    brew cask install vagrant-manager
    brew cask install parallels-desktop
    vagrant plugin install vagrant-parallels
    ```

    See http://parallels.github.io/vagrant-parallels/ for more details.
  13. kevinpapst revised this gist Jun 11, 2016. 1 changed file with 5 additions and 9 deletions.
    14 changes: 5 additions & 9 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -190,10 +190,9 @@ killall Finder
    ```


    # Git
    # Server and development

    Setup Github
    ------------
    ## Setup Github
    ```bash
    ssh-keygen -t rsa -C "kpapst@gmx.net"

    @@ -211,21 +210,18 @@ git config --global github.token your_token_here
    git config --global color.ui true
    ```

    ## Server and development


    ### Docker
    ## Docker
    ```bash
    brew install docker docker-machine
    ```

    ### Database
    ## Database

    ```bash
    brew install mariadb
    ```

    ### Ruby Gems
    ## Ruby Gems

    ```bash
    gem install jekyll
  14. kevinpapst revised this gist Jun 11, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -56,7 +56,7 @@ brew doctor
    brew install curl git openssl libxml2
    ```

    ## Install [https://caskroom.github.io/](Cask) application manager
    ## Install Cask application manager
    ```bash
    brew install caskroom/cask/brew-cask
    ```
  15. kevinpapst revised this gist Jun 11, 2016. 1 changed file with 12 additions and 10 deletions.
    22 changes: 12 additions & 10 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -100,9 +100,19 @@ brew cask install karabiner
    brew cask install gyazo
    ```

    ## Install Chrome extensions
    ## Configure browsers

    ### Install Chrome extensions
    Some extensions are not pulled from your Google account, so re-install theam manully now:
    * Postman REST client
    * [Postman REST client](https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop)

    ### Firefox profiles

    TODO make sure the profiles are registered
    ```bash
    /Applications/Firefox.app/Contents/MacOS/firefox-bin -P
    ```


    ## Install Parallels plugin for Vagrant
    ```
    @@ -220,11 +230,3 @@ brew install mariadb
    ```bash
    gem install jekyll
    ```

    ## Firefox profiles

    TODO make sure the profiles are registered
    ```bash
    /Applications/Firefox.app/Contents/MacOS/firefox-bin -P
    ```

  16. kevinpapst revised this gist Jun 11, 2016. 1 changed file with 73 additions and 9 deletions.
    82 changes: 73 additions & 9 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -6,12 +6,23 @@ Inspired by a [Gist](https://gist.github.com/kevinelliott/e12aa642a8388baf2499)

    ### Install from App Store

    * [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12&uo=4)
    * [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12&uo=4) - for command line tools required by Homebrew

    ### Install from Third-Party Websites

    * [Dropbox](https://www.dropbox.com/install2)
    * [HyperDock](https://bahoom.com/hyperdock/)
    * Google Drive
    * Google Photos Backup
    * Monosnap - screenshooting
    * VLC - video player
    * [Keka](http://www.kekaosx.com/de/) - archive manager
    * [PHPStorm](https://www.jetbrains.com/phpstorm/download/) - PHP IDE
    * [MoneyMoney](https://moneymoney-app.com/) - banking app
    * POedit
    * Version
    * Sourcetree
    * GitBook

    #Xcode Command Line Tools

    @@ -40,15 +51,14 @@ Now install Homebrew
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    brew doctor
    ```

    ## Install Cask - the Homebrews extension to manage Apps
    ### Install common libraries via Homebrew
    ```bash
    brew install caskroom/cask/brew-cask
    brew install curl git openssl libxml2
    ```

    ## Install common applications via Homebrew
    ## Install [https://caskroom.github.io/](Cask) application manager
    ```bash
    brew install curl git openssl libxml2
    brew install caskroom/cask/brew-cask
    ```

    ## Install applications via Homebrew Cask
    @@ -85,8 +95,15 @@ brew cask install skitch
    brew cask install sonos
    brew cask install spotify
    brew cask install steam
    brew cask install slack
    brew cask install karabiner
    brew cask install gyazo
    ```

    ## Install Chrome extensions
    Some extensions are not pulled from your Google account, so re-install theam manully now:
    * Postman REST client

    ## Install Parallels plugin for Vagrant
    ```
    vagrant plugin install vagrant-parallels
    @@ -95,7 +112,7 @@ vagrant plugin install vagrant-parallels
    See http://parallels.github.io/vagrant-parallels/ for more details.


    #Shell
    #Shell & .dotfiles

    Install custom .dotfiles
    ```bash
    @@ -107,7 +124,6 @@ source bootstrap.sh
    # OS X Preferences

    ```bash

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

    @@ -116,7 +132,55 @@ mkdir ~/Desktop/Screenshots
    defaults write com.apple.screencapture location ~/Desktop/Screenshots
    ```

    #Git
    The following seetings need to be tested and are not yet part of my default setup:

    ```bash
    defaults write com.apple.finder AppleShowAllFiles TRUE
    defaults write NSGlobalDomain AppleShowAllExtensions -bool true
    defaults write com.apple.finder ShowStatusBar -bool true
    defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
    defaults write NSGlobalDomain com.apple.springing.enabled -bool true
    defaults write NSGlobalDomain com.apple.springing.delay -float 0
    defaults write com.apple.finder QLEnableTextSelection -bool true

    # Finder: show path bar
    defaults write com.apple.finder ShowPathbar -bool true

    # When performing a search, search the current folder by default
    defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"

    # Disable the warning when changing a file extension
    defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false

    # Expand save panel by default
    defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true

    # Check for software updates daily, not just once per week
    defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1

    # Use column view in all Finder windows by default
    # Four-letter codes for the other view modes: `icnv`, `clmv`, `Flwv`
    defaults write com.apple.finder FXPreferredViewStyle -string "clmv"

    # Set up Safari for development.
    defaults write com.apple.Safari IncludeInternalDebugMenu -bool true
    defaults write com.apple.Safari IncludeDevelopMenu -bool true
    defaults write com.apple.Safari WebKitDeveloperExtrasEnabledPreferenceKey -bool true
    defaults write com.apple.Safari "com.apple.Safari.ContentPageGroupIdentifier.WebKit2DeveloperExtrasEnabled" -bool true
    defaults write NSGlobalDomain WebKitDeveloperExtras -bool true

    # Save screenshots in PNG format (other options: BMP, GIF, JPG, PDF, TIFF)
    defaults write com.apple.screencapture type -string "png"
    ```

    After setting all the preferences, you need to restart Finder_

    ```bash
    killall Finder
    ```


    # Git

    Setup Github
    ------------
  17. kevinpapst revised this gist Jun 11, 2016. 1 changed file with 24 additions and 25 deletions.
    49 changes: 24 additions & 25 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -10,20 +10,8 @@ Inspired by a [Gist](https://gist.github.com/kevinelliott/e12aa642a8388baf2499)

    ### Install from Third-Party Websites

    * Browsers
    * Chrome (installed via Cask)
    * Firefox (installed via Cask)

    * Development
    * [Dropbox](https://www.dropbox.com/install2)

    * Utilities
    * [HyperDock](https://bahoom.com/hyperdock/)

    * Virtualization
    * Parallels Desktop (installed via Cask)
    * Docker (installed via brew)
    * Vagrant (installed via Cask)
    * [Dropbox](https://www.dropbox.com/install2)
    * [HyperDock](https://bahoom.com/hyperdock/)

    #Xcode Command Line Tools

    @@ -40,13 +28,20 @@ xcode-select --install
    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:
    ```bash
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
    brew doctor
    ```

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

    ## Install Homebrew extension Cask
    ## Install Cask - the Homebrews extension to manage Apps
    ```bash
    brew install caskroom/cask/brew-cask
    ```
    @@ -58,19 +53,27 @@ brew install curl git openssl libxml2

    ## Install applications via Homebrew Cask
    ```bash
    brew cask install firefox
    brew cask install github-desktop
    brew cask install google-chrome
    brew cask install grandperspective
    brew cask install iterm2
    brew cask install skype
    brew cask install transmit
    brew cask install vagrant
    ```

    The following software is still in testing and not part of my default setup:
    ```bash
    brew cask install vagrant-manager
    brew cask install anvil
    brew cask install atom
    brew cask install authy-bluetooth
    brew cask install awareness
    brew cask install bartender
    brew cask install battery-guardian
    brew cask install firefox
    brew cask install github-desktop
    brew cask install google-chrome
    brew cask install grandperspective
    brew cask install hipchat
    brew cask install joinme
    brew cask install iterm2
    brew cask install livereload
    brew cask install ngrok
    brew cask install parallels-desktop
    @@ -79,13 +82,9 @@ brew cask install rescuetime
    brew cask install satellite-eyes
    brew cask install sidestep
    brew cask install skitch
    brew cask install skype
    brew cask install sonos
    brew cask install spotify
    brew cask install steam
    brew cask install transmit
    brew cask install vagrant
    brew cask install vagrant-manager
    ```

    ## Install Parallels plugin for Vagrant
    @@ -138,7 +137,7 @@ git config --global github.token your_token_here
    git config --global color.ui true
    ```

    ## Server
    ## Server and development


    ### Docker
  18. kevinpapst revised this gist Jun 11, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # Mac OS X 10.11 El Capitan

    Inspired by a Gist from @kevinelliott - see https://gist.github.com/kevinelliott/e12aa642a8388baf2499
    Inspired by a [Gist](https://gist.github.com/kevinelliott/e12aa642a8388baf2499) from [kevinelliott](https://gist.github.com/kevinelliott) - thanks!

    ## Install Software

  19. kevinpapst revised this gist Jun 11, 2016. 1 changed file with 10 additions and 7 deletions.
    17 changes: 10 additions & 7 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,9 @@
    # Mac OS X 10.11 El Capitan

    Inspired by a Gist from @kevinelliott - see https://gist.github.com/kevinelliott/e12aa642a8388baf2499

    ## Install Software

    The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.

    ### Install from App Store

    * [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12&uo=4)
    @@ -151,14 +150,18 @@ brew install docker docker-machine

    ```bash
    brew install mariadb
    brew pin mysql
    ```

    ### Ruby Gems

    #### nokogiri
    ```bash
    brew tap homebrew/dupes
    brew install libxml2 libxslt libiconv
    gem install nokogiri -- --with-iconv-dir=/usr/local/Cellar/libiconv/VERSION/
    gem install jekyll
    ```

    ## Firefox profiles

    TODO make sure the profiles are registered
    ```bash
    /Applications/Firefox.app/Contents/MacOS/firefox-bin -P
    ```

  20. kevinpapst revised this gist Jun 11, 2016. 1 changed file with 15 additions and 216 deletions.
    231 changes: 15 additions & 216 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -1,58 +1,38 @@
    # Mac OS X 10.11 El Capitan

    Custom recipe to get OS X 10.11 El Capitan running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.10 Yosemite setup recipe (as found on this gist https://gist.github.com/kevinelliott/0726211d17020a6abc1f). Note that I expect this to change significantly as I install El Capitan several times.

    I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

    This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

    You are encouraged to fork this and modify it to your heart's content to match your own needs.

    ## Install Software

    The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.

    ### Install from App Store

    * [Airmail](https://itunes.apple.com/us/app/airmail/id573171375?mt=12&uo=4)
    * [Degrees](https://itunes.apple.com/us/app/degrees/id430173763?mt=12&uo=4)
    * [Pages](https://itunes.apple.com/us/app/pages/id409201541?mt=12&uo=4)
    * [Twitter](https://itunes.apple.com/us/app/twitter/id409789998?mt=12&uo=4)
    * [WiFi Explorer](https://itunes.apple.com/us/app/wifi-explorer/id494803304?mt=12&uo=4)
    * [WiFi Signal](https://itunes.apple.com/us/app/wifi-signal/id525912054?mt=12&uo=4)
    * [Todoist](https://itunes.apple.com/us/app/todoist-to-do-list-task-list/id585829637?mt=12&uo=4)
    * [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12&uo=4)

    ### Install from Third-Party Websites

    * Browsers
    * Chrome (installed via Cask)
    * Firefox (installed via Cask)
    * Opera (installed via Cask)
    * [Webkit](http://webkit.org)

    * Development
    * [Dropbox](https://www.dropbox.com/install2)
    * [LiveReload Extensions](http://help.livereload.com/kb/general-use/browser-extensions)
    * [Sublime Text 3](http://www.sublimetext.com/3)

    * Utilities
    * [HyperDock](https://bahoom.com/hyperdock/)
    * [Little Snitch](http://www.obdev.at/products/littlesnitch/download.html)

    * Virtualization
    * Parallels Desktop (installed via Cask)
    * Docker (installed via brew)
    * Vagrant (installed via Cask)

    Fonts
    -----
    [Mensch coding font](http://robey.lag.net/2010/06/21/mensch-font.html)

    #Xcode Command Line Tools

    `Xcode > Preferences > Downloads > Command Line Tools`

    ```bash
    xcode-select --install
    ```

    #Homebrew

    @@ -62,23 +42,19 @@ Homebrew can not install properly until this occurs.

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

    At the time of this writing, `brew doctor` says that `Xcode 6.1` is required, which means downloading it from the Apple Developer Center until it is released in the Mac App Store.

    ## Install Homebrew extension Cask
    ```bash
    brew install caskroom/cask/brew-cask
    ```

    ## Install common applications via Homebrew
    *Databases are installed later.*
    ```bash
    brew install ack autojump automake colordiff curl git git-flow \
    hub icoutils imagemagick libmemcached memcached openssl ossp-uuid qt \
    readline redis tmux wget libxml2
    brew install curl git openssl libxml2
    ```

    ## Install applications via Homebrew Cask
    @@ -125,28 +101,15 @@ See http://parallels.github.io/vagrant-parallels/ for more details.

    Install custom .dotfiles
    ```bash
    git clone git@github.com:kevinelliott/.dotfiles.git ~/.dotfiles
    ~/.dotfiles/install.sh
    ```

    Update .bash_profile
    ```bash
    echo 'source ~/.dotfiles/base.sh' >> ~/.bash_profile
    git clone https://github.com/kevinpapst/dotfiles.git
    cd dotfiles
    source bootstrap.sh
    ```

    # OS X Preferences

    ```bash

    #Set a blazingly fast keyboard repeat rate
    defaults write NSGlobalDomain KeyRepeat -int 0.02

    #Set a shorter Delay until key repeat
    defaults write NSGlobalDomain InitialKeyRepeat -int 12

    #Add a context menu item for showing the Web Inspector in web views
    defaults write NSGlobalDomain WebKitDeveloperExtras -bool true

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

    @@ -155,17 +118,12 @@ mkdir ~/Desktop/Screenshots
    defaults write com.apple.screencapture location ~/Desktop/Screenshots
    ```

    Set hostname
    ------------
    `sudo scutil --set HostName SpaceX-Falcon-9`


    #Git

    Setup Github
    ------------
    ```bash
    ssh-keygen -t rsa -C "kevin@welikeinc.com"
    ssh-keygen -t rsa -C "kpapst@gmx.net"

    # Copy ssh key to github.com
    subl ~/.ssh/id_rsa.pub
    @@ -174,192 +132,33 @@ subl ~/.ssh/id_rsa.pub
    ssh -T git@github.com

    # Set git config values
    git config --global user.name "Kevin Elliott"
    git config --global user.email "kevin@welikeinc.com"
    git config --global github.user kevinelliott
    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 core.editor "subl -w"
    git config --global color.ui true
    ```


    # Sublime Text

    Add Sublime Text CLI
    --------------------

    ```bash
    mkdir -p ~/bin && ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl
    ```

    Install Package Control
    -----------------------

    Run `Sublime Text 3` and access the console via the `CTRL + ``` shortcut or the `View > Show Console` menu.

    ```
    import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
    ```

    See https://sublime.wbond.net/installation for more information. Their site has a note that this install code will change for each new release, so it would be good to check once in a while.

    Install Packages
    ----------------
    [BracketHighlighter](https://github.com/facelessuser/BracketHighlighter)
    [CoffeeScriptHaml](https://github.com/jisaacks/CoffeeScriptHaml)


    Install Soda Theme
    ----------------------
    ```bash
    git clone git://github.com/buymeasoda/soda-theme.git ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Theme\ -\ Soda
    ```

    Install Tomorrow Theme
    ----------------------
    ```bash
    git clone git://github.com/chriskempson/textmate-tomorrow-theme.git ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Color\ Scheme\ -\ Tomorrow
    ```

    Settings
    --------

    **Sublime Text > Preferences > Settings - User**

    ```json
    {
    "bold_folder_labels": true,
    "close_windows_when_empty": true,
    "color_scheme": "Packages/User/SublimeLinter/Monokai-Cobalt (SL).tmTheme",
    "draw_indent_guides": false,
    "fade_fold_buttons": false,
    "font_face": "Source Code Pro",
    "font_size": 16,
    "highlight_line": true,
    "highlight_modified_tabs": true,
    "ignored_packages":
    [
    "Vintage"
    ],
    "show_tab_close_buttons": false,
    "spell_check": false,
    "tab_size": 2,
    "translate_tabs_to_spaces": true,
    "theme": "Soda Light.sublime-theme",
    "word_separators": "./\\()\"'-:,.;<>~!@#%^&*|+=[]{}`~?",
    "word_wrap": true
    }
    ```

    Key Bindings
    ------------

    ```json
    [
    { "keys": ["super+b"], "command": "expand_selection", "args": {"to": "brackets"} },
    { "keys": ["super+f"], "command": "show_panel", "args": {"panel": "replace"} },
    { "keys": ["super+alt+f"], "command": "show_panel", "args": {"panel": "find"} }
    ]
    ```


    Snippets
    --------
    ```bash
    git clone git@github.com:bytestudios/sublime-snippets.git "/Users/Joel/Library/Application Support/Sublime Text 2/Packages/Byte"
    ```


    ## Server


    ### Docker
    ```bash
    brew install docker boot2docker
    boot2docker init
    boot2docker up
    brew install docker docker-machine
    ```

    ### MySQL
    ### Database

    ```bash
    brew install mysql
    brew install mariadb
    brew pin mysql
    ```

    ### MySQL Settings

    ```bash
    # Copy launch agent into place
    mkdir -p ~/Library/LaunchAgents && cp /usr/local/Cellar/mysql/VERSION/homebrew.mxcl.mysql.plist ~/Library/LaunchAgents/

    # Edit launch agent and set both keepalive and launch at startup to false
    vi ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist

    # Inject launch agent
    launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist

    # Set up databases to run as your user account
    unset TMPDIR && mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp

    # Start mysql
    start mysql

    # Secure mysql
    /usr/local/Cellar/mysql/VERSION/bin/mysql_secure_installation
    ```


    ### PostgreSQL

    ```bash
    brew install postgres --no-ossp-uuid
    brew pin postgres
    ```

    ### PostgreSQL Settings

    ```bash
    # Initialize db if none exists already
    initdb /usr/local/var/postgres

    # Create launchctl script
    mkdir -p ~/Library/LaunchAgents
    cp /usr/local/Cellar/postgresql/VERSION/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/

    # Edit launchctl script (set to not start automatically and keepalive false)
    subl ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist

    # Inject launchctl script
    launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist

    # Start PostgreSQL
    start pg
    ```

    ### Ruby Gems

    #### libv8 / therubyracer
    ```bash
    brew uninstall v8
    gem uninstall libv8
    brew install v8
    gem install therubyracer
    gem install libv8 -v 3.16.14.3 -- --with-system-v8
    ```

    #### nokogiri
    ```bash
    brew tap homebrew/dupes
    brew install libxml2 libxslt libiconv
    gem install nokogiri -- --with-iconv-dir=/usr/local/Cellar/libiconv/VERSION/
    ```

    #### capybara-webkit
    ```bash
    brew install -v https://raw.github.com/cliffrowley/homebrew/patched_qt/Library/Formula/qt.rb --HEAD --without-ssse3
    gem install capybara-webkit -v '0.9.0'
    ```

    ![aww yeah](http://i.imgur.com/AmFax.gif)
  21. @kevinelliott kevinelliott revised this gist Oct 15, 2015. 1 changed file with 20 additions and 11 deletions.
    31 changes: 20 additions & 11 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -229,17 +229,26 @@ Settings

    ```json
    {
    "close_windows_when_empty": true,
    "color_scheme": "Packages/Color Scheme - Tomorrow/Tomorrow-Night-Eighties.tmTheme",
    "draw_indent_guides": false,
    "font_face": "Mensch",
    "font_size": 18,
    "highlight_modified_tabs": true,
    "show_tab_close_buttons": false,
    "tab_size": 2,
    "spell_check": false,
    "theme": "Soda Light.sublime-theme",
    "word_separators": "./\\()\"'-:,.;<>~!@#%^&*|+=[]{}`~?"
    "bold_folder_labels": true,
    "close_windows_when_empty": true,
    "color_scheme": "Packages/User/SublimeLinter/Monokai-Cobalt (SL).tmTheme",
    "draw_indent_guides": false,
    "fade_fold_buttons": false,
    "font_face": "Source Code Pro",
    "font_size": 16,
    "highlight_line": true,
    "highlight_modified_tabs": true,
    "ignored_packages":
    [
    "Vintage"
    ],
    "show_tab_close_buttons": false,
    "spell_check": false,
    "tab_size": 2,
    "translate_tabs_to_spaces": true,
    "theme": "Soda Light.sublime-theme",
    "word_separators": "./\\()\"'-:,.;<>~!@#%^&*|+=[]{}`~?",
    "word_wrap": true
    }
    ```

  22. @kevinelliott kevinelliott revised this gist Oct 13, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -17,7 +17,6 @@ The software selected is software that is "tried and true" --- software I need a
    * [Airmail](https://itunes.apple.com/us/app/airmail/id573171375?mt=12&uo=4)
    * [Degrees](https://itunes.apple.com/us/app/degrees/id430173763?mt=12&uo=4)
    * [Pages](https://itunes.apple.com/us/app/pages/id409201541?mt=12&uo=4)
    * [Skitch](https://itunes.apple.com/us/app/skitch-snap.-mark-up.-share./id425955336?mt=12&uo=4)
    * [Twitter](https://itunes.apple.com/us/app/twitter/id409789998?mt=12&uo=4)
    * [WiFi Explorer](https://itunes.apple.com/us/app/wifi-explorer/id494803304?mt=12&uo=4)
    * [WiFi Signal](https://itunes.apple.com/us/app/wifi-signal/id525912054?mt=12&uo=4)
    @@ -104,6 +103,7 @@ brew cask install quicksilver
    brew cask install rescuetime
    brew cask install satellite-eyes
    brew cask install sidestep
    brew cask install skitch
    brew cask install skype
    brew cask install sonos
    brew cask install spotify
  23. @kevinelliott kevinelliott revised this gist Oct 13, 2015. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -40,9 +40,6 @@ The software selected is software that is "tried and true" --- software I need a
    * Utilities
    * [HyperDock](https://bahoom.com/hyperdock/)
    * [Little Snitch](http://www.obdev.at/products/littlesnitch/download.html)
    * [Quicksilver](http://qsapp.com)
    * [Skype](http://www.skype.com/en/download-skype/skype-for-computer/)
    * [Transmit](http://panic.com/transmit)

    * Virtualization
    * Parallels Desktop (installed via Cask)
    @@ -103,12 +100,15 @@ brew cask install iterm2
    brew cask install livereload
    brew cask install ngrok
    brew cask install parallels-desktop
    brew cask install quicksilver
    brew cask install rescuetime
    brew cask install satellite-eyes
    brew cask install sidestep
    brew cask install skype
    brew cask install sonos
    brew cask install spotify
    brew cask install steam
    brew cask install transmit
    brew cask install vagrant
    brew cask install vagrant-manager
    ```
  24. @kevinelliott kevinelliott revised this gist Oct 13, 2015. 1 changed file with 6 additions and 10 deletions.
    16 changes: 6 additions & 10 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -16,7 +16,6 @@ The software selected is software that is "tried and true" --- software I need a

    * [Airmail](https://itunes.apple.com/us/app/airmail/id573171375?mt=12&uo=4)
    * [Degrees](https://itunes.apple.com/us/app/degrees/id430173763?mt=12&uo=4)
    * [Opera](https://itunes.apple.com/us/app/opera/id404764921?mt=12&uo=4)
    * [Pages](https://itunes.apple.com/us/app/pages/id409201541?mt=12&uo=4)
    * [Skitch](https://itunes.apple.com/us/app/skitch-snap.-mark-up.-share./id425955336?mt=12&uo=4)
    * [Twitter](https://itunes.apple.com/us/app/twitter/id409789998?mt=12&uo=4)
    @@ -29,27 +28,20 @@ The software selected is software that is "tried and true" --- software I need a

    * Browsers
    * Chrome (installed via Cask)
    * [Firefox](http://firefox.com)
    * Opera (installed via App Store)
    * Firefox (installed via Cask)
    * Opera (installed via Cask)
    * [Webkit](http://webkit.org)

    * Development
    * [Dropbox](https://www.dropbox.com/install2)
    * [GitHub](http://mac.github.com)
    * [LiveReload](http://livereload.com)
    * [LiveReload Extensions](http://help.livereload.com/kb/general-use/browser-extensions)
    * [Sublime Text 3](http://www.sublimetext.com/3)

    * Utilities
    * [1Password](https://agilebits.com/onepassword/mac)
    * [GrandPerspective](http://grandperspectiv.sourceforge.net/)
    * [HipChat](https://www.hipchat.com/downloads)
    * [HyperDock](https://bahoom.com/hyperdock/)
    * iTerm 2 (installed via Cask)
    * [Little Snitch](http://www.obdev.at/products/littlesnitch/download.html)
    * [Quicksilver](http://qsapp.com)
    * [Skype](http://www.skype.com/en/download-skype/skype-for-computer/)
    * [Spotify](https://www.spotify.com/us/download/mac/)
    * [Transmit](http://panic.com/transmit)

    * Virtualization
    @@ -101,10 +93,14 @@ brew cask install authy-bluetooth
    brew cask install awareness
    brew cask install bartender
    brew cask install battery-guardian
    brew cask install firefox
    brew cask install github-desktop
    brew cask install google-chrome
    brew cask install grandperspective
    brew cask install hipchat
    brew cask install joinme
    brew cask install iterm2
    brew cask install livereload
    brew cask install ngrok
    brew cask install parallels-desktop
    brew cask install rescuetime
  25. @kevinelliott kevinelliott revised this gist Oct 13, 2015. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -101,13 +101,13 @@ brew cask install authy-bluetooth
    brew cask install awareness
    brew cask install bartender
    brew cask install battery-guardian
    brew cask install github
    brew cask install github-desktop
    brew cask install google-chrome
    brew cask install joinme
    brew cask install iterm2
    brew cask install parallels
    brew cask install ngrok
    brew cask install parallels-desktop
    brew cask install rescuetime
    brew cask install rubymine
    brew cask install satellite-eyes
    brew cask install sidestep
    brew cask install sonos
  26. @kevinelliott kevinelliott revised this gist Oct 13, 2015. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -15,9 +15,7 @@ The software selected is software that is "tried and true" --- software I need a
    ### Install from App Store

    * [Airmail](https://itunes.apple.com/us/app/airmail/id573171375?mt=12&uo=4)
    * [Aperture](https://itunes.apple.com/us/app/aperture/id408981426?mt=12&uo=4)
    * [Degrees](https://itunes.apple.com/us/app/degrees/id430173763?mt=12&uo=4)
    * [Divvy](https://itunes.apple.com/us/app/divvy-window-manager/id413857545?mt=12&uo=4)
    * [Opera](https://itunes.apple.com/us/app/opera/id404764921?mt=12&uo=4)
    * [Pages](https://itunes.apple.com/us/app/pages/id409201541?mt=12&uo=4)
    * [Skitch](https://itunes.apple.com/us/app/skitch-snap.-mark-up.-share./id425955336?mt=12&uo=4)
    @@ -46,6 +44,7 @@ The software selected is software that is "tried and true" --- software I need a
    * [1Password](https://agilebits.com/onepassword/mac)
    * [GrandPerspective](http://grandperspectiv.sourceforge.net/)
    * [HipChat](https://www.hipchat.com/downloads)
    * [HyperDock](https://bahoom.com/hyperdock/)
    * iTerm 2 (installed via Cask)
    * [Little Snitch](http://www.obdev.at/products/littlesnitch/download.html)
    * [Quicksilver](http://qsapp.com)
  27. @kevinelliott kevinelliott created this gist Sep 30, 2015.
    361 changes: 361 additions & 0 deletions osx-10.11-setup.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,361 @@
    # Mac OS X 10.11 El Capitan

    Custom recipe to get OS X 10.11 El Capitan running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.10 Yosemite setup recipe (as found on this gist https://gist.github.com/kevinelliott/0726211d17020a6abc1f). Note that I expect this to change significantly as I install El Capitan several times.

    I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

    This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

    You are encouraged to fork this and modify it to your heart's content to match your own needs.

    ## Install Software

    The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.

    ### Install from App Store

    * [Airmail](https://itunes.apple.com/us/app/airmail/id573171375?mt=12&uo=4)
    * [Aperture](https://itunes.apple.com/us/app/aperture/id408981426?mt=12&uo=4)
    * [Degrees](https://itunes.apple.com/us/app/degrees/id430173763?mt=12&uo=4)
    * [Divvy](https://itunes.apple.com/us/app/divvy-window-manager/id413857545?mt=12&uo=4)
    * [Opera](https://itunes.apple.com/us/app/opera/id404764921?mt=12&uo=4)
    * [Pages](https://itunes.apple.com/us/app/pages/id409201541?mt=12&uo=4)
    * [Skitch](https://itunes.apple.com/us/app/skitch-snap.-mark-up.-share./id425955336?mt=12&uo=4)
    * [Twitter](https://itunes.apple.com/us/app/twitter/id409789998?mt=12&uo=4)
    * [WiFi Explorer](https://itunes.apple.com/us/app/wifi-explorer/id494803304?mt=12&uo=4)
    * [WiFi Signal](https://itunes.apple.com/us/app/wifi-signal/id525912054?mt=12&uo=4)
    * [Todoist](https://itunes.apple.com/us/app/todoist-to-do-list-task-list/id585829637?mt=12&uo=4)
    * [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12&uo=4)

    ### Install from Third-Party Websites

    * Browsers
    * Chrome (installed via Cask)
    * [Firefox](http://firefox.com)
    * Opera (installed via App Store)
    * [Webkit](http://webkit.org)

    * Development
    * [Dropbox](https://www.dropbox.com/install2)
    * [GitHub](http://mac.github.com)
    * [LiveReload](http://livereload.com)
    * [LiveReload Extensions](http://help.livereload.com/kb/general-use/browser-extensions)
    * [Sublime Text 3](http://www.sublimetext.com/3)

    * Utilities
    * [1Password](https://agilebits.com/onepassword/mac)
    * [GrandPerspective](http://grandperspectiv.sourceforge.net/)
    * [HipChat](https://www.hipchat.com/downloads)
    * iTerm 2 (installed via Cask)
    * [Little Snitch](http://www.obdev.at/products/littlesnitch/download.html)
    * [Quicksilver](http://qsapp.com)
    * [Skype](http://www.skype.com/en/download-skype/skype-for-computer/)
    * [Spotify](https://www.spotify.com/us/download/mac/)
    * [Transmit](http://panic.com/transmit)

    * Virtualization
    * Parallels Desktop (installed via Cask)
    * Docker (installed via brew)
    * Vagrant (installed via Cask)

    Fonts
    -----
    [Mensch coding font](http://robey.lag.net/2010/06/21/mensch-font.html)

    #Xcode Command Line Tools

    `Xcode > Preferences > Downloads > Command Line Tools`


    #Homebrew

    ## Run Xcode and accept the license

    Homebrew can not install properly until this occurs.

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

    At the time of this writing, `brew doctor` says that `Xcode 6.1` is required, which means downloading it from the Apple Developer Center until it is released in the Mac App Store.

    ## Install Homebrew extension Cask
    ```bash
    brew install caskroom/cask/brew-cask
    ```

    ## Install common applications via Homebrew
    *Databases are installed later.*
    ```bash
    brew install ack autojump automake colordiff curl git git-flow \
    hub icoutils imagemagick libmemcached memcached openssl ossp-uuid qt \
    readline redis tmux wget libxml2
    ```

    ## Install applications via Homebrew Cask
    ```bash
    brew cask install anvil
    brew cask install atom
    brew cask install authy-bluetooth
    brew cask install awareness
    brew cask install bartender
    brew cask install battery-guardian
    brew cask install github
    brew cask install google-chrome
    brew cask install joinme
    brew cask install iterm2
    brew cask install parallels
    brew cask install rescuetime
    brew cask install rubymine
    brew cask install satellite-eyes
    brew cask install sidestep
    brew cask install sonos
    brew cask install spotify
    brew cask install steam
    brew cask install vagrant
    brew cask install vagrant-manager
    ```

    ## Install Parallels plugin for Vagrant
    ```
    vagrant plugin install vagrant-parallels
    ```

    See http://parallels.github.io/vagrant-parallels/ for more details.


    #Shell

    Install custom .dotfiles
    ```bash
    git clone git@github.com:kevinelliott/.dotfiles.git ~/.dotfiles
    ~/.dotfiles/install.sh
    ```

    Update .bash_profile
    ```bash
    echo 'source ~/.dotfiles/base.sh' >> ~/.bash_profile
    ```

    # OS X Preferences

    ```bash

    #Set a blazingly fast keyboard repeat rate
    defaults write NSGlobalDomain KeyRepeat -int 0.02

    #Set a shorter Delay until key repeat
    defaults write NSGlobalDomain InitialKeyRepeat -int 12

    #Add a context menu item for showing the Web Inspector in web views
    defaults write NSGlobalDomain WebKitDeveloperExtras -bool true

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

    #Store screenshots in subfolder on desktop
    mkdir ~/Desktop/Screenshots
    defaults write com.apple.screencapture location ~/Desktop/Screenshots
    ```

    Set hostname
    ------------
    `sudo scutil --set HostName SpaceX-Falcon-9`


    #Git

    Setup Github
    ------------
    ```bash
    ssh-keygen -t rsa -C "kevin@welikeinc.com"

    # 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 Elliott"
    git config --global user.email "kevin@welikeinc.com"
    git config --global github.user kevinelliott
    git config --global github.token your_token_here

    git config --global core.editor "subl -w"
    git config --global color.ui true
    ```


    # Sublime Text

    Add Sublime Text CLI
    --------------------

    ```bash
    mkdir -p ~/bin && ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl
    ```

    Install Package Control
    -----------------------

    Run `Sublime Text 3` and access the console via the `CTRL + ``` shortcut or the `View > Show Console` menu.

    ```
    import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
    ```

    See https://sublime.wbond.net/installation for more information. Their site has a note that this install code will change for each new release, so it would be good to check once in a while.

    Install Packages
    ----------------
    [BracketHighlighter](https://github.com/facelessuser/BracketHighlighter)
    [CoffeeScriptHaml](https://github.com/jisaacks/CoffeeScriptHaml)


    Install Soda Theme
    ----------------------
    ```bash
    git clone git://github.com/buymeasoda/soda-theme.git ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Theme\ -\ Soda
    ```

    Install Tomorrow Theme
    ----------------------
    ```bash
    git clone git://github.com/chriskempson/textmate-tomorrow-theme.git ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Color\ Scheme\ -\ Tomorrow
    ```

    Settings
    --------

    **Sublime Text > Preferences > Settings - User**

    ```json
    {
    "close_windows_when_empty": true,
    "color_scheme": "Packages/Color Scheme - Tomorrow/Tomorrow-Night-Eighties.tmTheme",
    "draw_indent_guides": false,
    "font_face": "Mensch",
    "font_size": 18,
    "highlight_modified_tabs": true,
    "show_tab_close_buttons": false,
    "tab_size": 2,
    "spell_check": false,
    "theme": "Soda Light.sublime-theme",
    "word_separators": "./\\()\"'-:,.;<>~!@#%^&*|+=[]{}`~?"
    }
    ```

    Key Bindings
    ------------

    ```json
    [
    { "keys": ["super+b"], "command": "expand_selection", "args": {"to": "brackets"} },
    { "keys": ["super+f"], "command": "show_panel", "args": {"panel": "replace"} },
    { "keys": ["super+alt+f"], "command": "show_panel", "args": {"panel": "find"} }
    ]
    ```


    Snippets
    --------
    ```bash
    git clone git@github.com:bytestudios/sublime-snippets.git "/Users/Joel/Library/Application Support/Sublime Text 2/Packages/Byte"
    ```


    ## Server


    ### Docker
    ```bash
    brew install docker boot2docker
    boot2docker init
    boot2docker up
    ```

    ### MySQL

    ```bash
    brew install mysql
    brew pin mysql
    ```

    ### MySQL Settings

    ```bash
    # Copy launch agent into place
    mkdir -p ~/Library/LaunchAgents && cp /usr/local/Cellar/mysql/VERSION/homebrew.mxcl.mysql.plist ~/Library/LaunchAgents/

    # Edit launch agent and set both keepalive and launch at startup to false
    vi ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist

    # Inject launch agent
    launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist

    # Set up databases to run as your user account
    unset TMPDIR && mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp

    # Start mysql
    start mysql

    # Secure mysql
    /usr/local/Cellar/mysql/VERSION/bin/mysql_secure_installation
    ```


    ### PostgreSQL

    ```bash
    brew install postgres --no-ossp-uuid
    brew pin postgres
    ```

    ### PostgreSQL Settings

    ```bash
    # Initialize db if none exists already
    initdb /usr/local/var/postgres

    # Create launchctl script
    mkdir -p ~/Library/LaunchAgents
    cp /usr/local/Cellar/postgresql/VERSION/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/

    # Edit launchctl script (set to not start automatically and keepalive false)
    subl ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist

    # Inject launchctl script
    launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist

    # Start PostgreSQL
    start pg
    ```

    ### Ruby Gems

    #### libv8 / therubyracer
    ```bash
    brew uninstall v8
    gem uninstall libv8
    brew install v8
    gem install therubyracer
    gem install libv8 -v 3.16.14.3 -- --with-system-v8
    ```

    #### nokogiri
    ```bash
    brew tap homebrew/dupes
    brew install libxml2 libxslt libiconv
    gem install nokogiri -- --with-iconv-dir=/usr/local/Cellar/libiconv/VERSION/
    ```

    #### capybara-webkit
    ```bash
    brew install -v https://raw.github.com/cliffrowley/homebrew/patched_qt/Library/Formula/qt.rb --HEAD --without-ssse3
    gem install capybara-webkit -v '0.9.0'
    ```

    ![aww yeah](http://i.imgur.com/AmFax.gif)