# Setup OSX 10.9 with a Clean Install After two years of tinkering my machine is a bit all over. With Mavericks I wanted to start fresh ## 1. Run Software Update Make sure everything is up to date. ![Software Update](http://f.cl.ly/items/0O0p1b081B2I421r2z2y/Screen%20Shot%202013-11-23%20at%201.27.56%20PM.png) ## 2. Install ["Command Line Tools"](https://developer.apple.com/downloads/index.action) Open Terminal to install the Command Line Tools *Notice this only works for Mac OS X Mavericks (10.9). For earlier versions, continue to use the in-app download in Xcode.* ``` Git ``` ![Git Command](http://f.cl.ly/items/3R2o0P2L2C2W1m3W2l45/xmavericks-tools.png.pagespeed.ic.PdbZbGu-Ol.png) Select "Install" ## 3. Set OSX to show hidden files ``` defaults write com.apple.finder AppleShowAllFiles -boolean true killall Finder ``` ## 4. Configure Git and Generate SSH keys for GitHub Copy the attached gitconfig settings and set your user info (left out to avoid issues) ``` cd ~/ && curl -O https://gist.github.com/jimmynotjim/7622492/raw/5e895d1da525594c14e1052feb5c9587fb99a41c/.gitignore git config --global user.name "Your Name Here" git config --global user.email youremail@example.com ``` Visit [GitHub's official guide](https://help.github.com/articles/generating-ssh-keys#platform-mac) for instructions. ## 5. Clone and Install Bash-It *Visit my [Bash-It repo](https://github.com/jimmynotjim/bash-it) for more details.* ``` git clone git@github.com:jimmynotjim/bash-it.git ~/.bash_it ~/bash_it/install.sh ``` Open a new terminal window to use the Bash-It options you've set ## 6. Clone and Install Phix Terminal Theme *Visit my [OSX Phix Theme repo](https://github.com/jimmynotjim/OSX-Terminal-Phix-Theme) for more details.* ``` mkdir ~/Repos && cd $_ git clone git@github.com:jimmynotjim/OSX-Terminal-Phix-Theme.git open ~/Repos/OSX-Terminal-Phix-Theme/Phix_Dark.terminal ``` Double-click the theme Back in Terminal open Terminal > Preferences (or CMD + ,) and select "Default" to make Phix the default theme ## 7. Clone and Install Brew-It Many apps can be installed through [Homebrew](http://brew.sh/) and [homebrew-cask](https://github.com/phinze/homebrew-cask) which makes the process way simpler *Visit my [Brew-It repo](https://github.com/jimmynotjim/brew-it) for more details.* ``` cd ~/Repos && git clone git@github.com:jimmynotjim/brew-it.git ~/.brew_it ~/.brew_it/install.sh brew update brew upgrade ``` ## 8. Manual App Installs Unfortunately some apps aren't available through homebrew, so you need to install it **manually**. ###### App Store * [Byword](http://bywordapp.com/) for writing * [Committed](http://www.secondgearsoftware.com/committed/) GitHub notifications * [DiskDoctor](http://www.fiplab.com/) for keeping my HDs clean * [Fantastical](http://flexibits.com/fantastical) for calendar interface to Google Calendar * [Icon Slate](http://www.kodlian.com/apps/icon-slate) for creating icons * [iTeleport](http://www.iteleportmobile.com/) for remote desktop * [Keynote](https://itunes.apple.com/us/app/keynote/id361285480) for presentations * [Knock](http://www.knocktounlock.com/) Easy desktop unlock * [LimeChat](http://limechat.net/mac/) for IRC * [Marked](http://markedapp.com/) for Markdown previewing * [Memory Clean](http://www.fiplab.com/) for managing virtual memory * [Patterns](http://krillapps.com/patterns/) for regex testing * [Pixelmator](http://www.pixelmator.com/) for bitmap image editing * [Sketch](http://www.bohemiancoding.com/sketch/) for vector editing * [Tweetbot](http://tapbots.com/software/tweetbot/mac/) for Twitter * [Unarchiver](http://wakaba.c3.cx/s/apps/unarchiver) for ZIP, RAR, etc ###### Manually * [Adobe Suite](http://www.adobe.com/products/creativecloud.html) for image editing * [CrashPlan](http://www.code42.com/crashplan/) for remote backups * [Hotspot Sheild](http://www.hsselite.com/sign-in) Private VPN * [LICEcap](http://www.cockos.com/licecap/) for GIF recording * [MacX Video Converter](http://www.macxdvd.com/mac-video-converter-pro/) for video conversion * [Mamp Pro](http://www.mamp.info/en/mamp-pro/) for MAMP stack work * [Mixture](http://mixture.io/) for quick prototyping * [Nestopia](http://nestopia.sourceforge.net/) NES emulation * [ScreenFlow](https://itunes.apple.com/us/app/screenflow-4/id573279886?mt=12) for screencast recording ## 9. Configure [Sublime Text](http://sublimetext.com/) * [User Settings](https://gist.github.com/jimmynotjim/3427284) * [Package Settings](https://gist.github.com/jimmynotjim/3439249) ## 10. Install [Alfred](http://alfredapp.com) Workflows Visit [zenorocha's Alfred workflow collection repo](https://github.com/zenorocha/alfred-workflows) for instructions. ## 11. Set [NPM](http://npmjs.org) user ```sh npm adduser username ``` ## 12. Download [IE test VMs](http://www.modern.ie/en-us/virtualization-tools) for [VirtualBox](https://www.virtualbox.org/) These take a while to download, so maybe do it on a separate day as a background process. ```sh # IE8 - XP curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/OSX/IE8_XP/IE8.XP.For.MacVirtualBox.ova" # IE9 - Win7 curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/OSX/IE9_Win7/IE9.Win7.For.MacVirtualBox.part{1.sfx,2.rar,3.rar,4.rar,5.rar}" # IE10 - Win8 curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/OSX/IE10_Win8/IE10.Win8.For.MacVirtualBox.part{1.sfx,2.rar,3.rar}" ``` ## 13. Download a base Ubuntu box for Vagrant I'm using Vagrant to setup a few VMs locally for development. *Ubuntu 12.04 LTS 64-bits* ``` vagrant box add precise64 http://files.vagrantup.com/precise64.box ``` ## All done, have fun! This process has been borrowed from [here](https://gist.github.com/millermedeiros/6615994), [here](https://gist.github.com/zenorocha/7159780#file-osx-setup-md), [here](http://blog.55minutes.com/2013/09/rails-os-x-install-guide/) and [here](https://github.com/wilmoore/dotfiles/tree/master/active)