Skip to content

Instantly share code, notes, and snippets.

@don-smith
Created May 12, 2016 22:35
Show Gist options
  • Save don-smith/1ef0a72543c92fbf69cbdd70e772a42d to your computer and use it in GitHub Desktop.
Save don-smith/1ef0a72543c92fbf69cbdd70e772a42d to your computer and use it in GitHub Desktop.
How I treat each new Mac I appropriate

My OS X Setup Guide

Config

  • Adjust trackpad settings to my liking (Preferences > Trackpad)
  • Remap caps-lock to control (Preferences > Keyboard > Modifier Keys... button)

Install

  • XCode and command line tools
    • xcode-select --install (after XCode is installed)
  • Homebrew
    • /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • iTerm2
    • brew cask install iterm2
    • Preferences > General > Closing: Uncheck all
    • Close Terminal, open iTerm2
  • Zsh
    • brew install zsh zsh-completions
  • Oh-My-Zsh
    • curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
  • Tmux
    • brew install tmux
    • iTerm2: Preferences > Profiles > General > Command > Send text at start: tmux -2
    • mkdir -p ~/.tmux/plugins
    • gcl https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
    • Restart iTerm
    • tmux source-file ~/.tmux.conf
    • Ctrl-b I to install the tmux plugins
  • GitHub
  • Dotfiles
    • mkdir -p ~/projects ~/repos
    • cd ~/projects
    • gcl [email protected]:locksmithdon/dotfiles.git
    • dotfiles/link
  • Python
    • brew install python
    • pip install --upgrade setuptools
    • pip install --upgrade pip
    • brew install pyenv
    • brew install pyenv-virtualenv
  • Node.js
    • curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash
    • Restart iTerm2
    • nvm install 5
    • nvm install 4
    • nvm alias default 4
  • Ruby
    • brew install ruby-install
    • brew install chruby
    • ruby-install ruby 2.2.3
  • Java
    • brew cask install java
  • Vim
    • brew install vim neovim/neovim/neovim(considering nvim)
    • gcl https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
    • vim +PluginInstall +qall
    • ~/.vim/bundle/YouCompleteMe/install.sh
  • Powerline
    • pip install powerline-status
    • gcl https://github.com/powerline/fonts.git ~/repos/powerline-fonts
    • ~/repos/powerline-fonts/install.sh

More config

  • iTerm2: Preferences > Profiles > Text > Fonts > 14pt Sauce Code Powerline

More installs

  • Chrome
    • brew cask install google-chrome
  • Firefox
    • brew cask install firefox
  • Alfred
    • brew cask install alfred
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment