Skip to content

Instantly share code, notes, and snippets.

@huyhong
Forked from millermedeiros/osx_setup.md
Last active April 5, 2016 21:55
Show Gist options
  • Save huyhong/864fe00dec690379791c to your computer and use it in GitHub Desktop.
Save huyhong/864fe00dec690379791c to your computer and use it in GitHub Desktop.

Setup

1. Run software update

Make sure everything is up to date.

2. Install Xcode and/or "Command Line Tools"

"Command Line Tools" can be downloaded separate from Xcode at https://developer.apple.com/downloads/ - It is way smaller than installing the whole Xcode but might not work for all cases tho. dr Xcode can be found on App Store. preferred

More info on how to download Command Line Tools inside XCode can be found on StackOverflow

3. Install homebrew and CLI tools

http://brew.sh/

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

brew install git
brew install node
brew install wget
brew install exiftool
brew install graphicsmagick
brew install imagemagick
brew install libsass
brew install phantomjs
brew install mackup
brew install go

# install nvm
curl https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
nvm install stable

convert to n?

4. Install softwares

homebrew-cask

Many softwares can be installed through homebrew-cask which makes the process way simpler:

# install homebrew-cask
brew tap phinze/homebrew-cask
brew install brew-cask

# essential
brew cask install adium
brew cask install alfred
brew cask install dropbox
brew cask install mattr-slate
brew cask install spotify
brew cask install 1password
brew cask install caffeine
brew cask install flux
brew cask install licecap
brew cask install skitch
brew cask install sketch
brew cask install skype
brew cask install steam
brew cask install transmission
brew cask install vlc
brew cask install vox

# dev
brew cask install charles
brew cask install chicken
brew cask install github-desktop
brew install git-extras
brew cask install imageoptim
brew cask install sequel-pro
brew cask install virtualbox
brew cask install postico
# brew cask install sublime-text # only installs sublime2

# desktop
# brew cask install karabiner (use built-in?)
# logitech G drivers: http://support.logitech.com/en_us/downloads
# hiface drivers: http://www.m2tech.biz/it/mavericks_install.html


# work
brew cask install box-sync
brew cask install slack

# utils
brew cask install notational-velocity
brew cask install the-unarchiver

# browsers
# brew cask install firefox
# brew cask install google-chrome
# brew cask install google-chrome-canary


# homebrew fonts
brew tap caskroom/fonts
brew cask install font-inconsolata
brew cask install font-input
# fill this out with more

# quick look plugins (https://github.com/sindresorhus/quick-look-plugins)
# brew cask install qlcolorcode qlstephen qlmarkdown quicklook-json qlprettypatch quicklook-csv betterzipql webp-quicklook suspicious-package && qlmanage -r

Mackup

# log into dropbox
cp ~/Dropbox/_SYNC/.mackup.cfg ~/.
mackup restore

Sublime 3

# Install Sublime 3: http://www.sublimetext.com/3
# Install Package Control:
`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://packagecontrol.io/' + 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)`
# Install `Package Syncing` Package
# Enable Package Sync
# Point to `~/Dropbox/_SYNC/Sublime`

Git tools

# Git Goodies: https://github.com/qw3rtman/gg curl -fsSL git.io/gg.sh | bash

App Store

  • Tweetdeck
  • Things

Manually

Misc

# add whotwit.py to ~/bin
# link subl to ~/bin/sub

5. Incorporate OSX settings from mathiasbynens dotfiles???

6. Create/Update ~/.bash_profile

(mackup handles this)

7. Create/Update ~/.gitconfig

(mackup handles this)

8. Configure npm and generate SSH keys for github

And also generate SSH keys for github

9. Copy stuff from old HD

10. Download IE9/IE11 test VMs for VirtualBox via ievms

curl -s https://raw.githubusercontent.com/xdissent/ievms/master/ievms.sh | env IEVMS_VERSIONS="9 11" bash

11. Profit!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment