Skip to content

Instantly share code, notes, and snippets.

@mitchthorson
Last active August 29, 2015 14:16
Show Gist options
  • Save mitchthorson/8d5d34aaff0e669a5a31 to your computer and use it in GitHub Desktop.
Save mitchthorson/8d5d34aaff0e669a5a31 to your computer and use it in GitHub Desktop.
Things I use on OSX

#Basic OSX setup and tools for development

These are the tools I use to be productive while writing code on a Mac. I wanted to write them down in case I need to set up a computer again from scratch, or in case it could be helpful to share with anyone else.

##Command line tools

Or custom install of the individual components (haven't tried this. would require more configuration)

  • Homebrew ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • zsh brew install zsh
  • prezto https://github.com/sorin-ionescu/prezto

##Dev environment tools

  • macvim brew install macvim
  • node brew install node

###Python setup

  • python virtualenv sudo pip install virtualenv
  • python virtualenvwrapper sudo pip install virtualenvwrapper Edit .zprofile vim ~/.zprofile and add
source /usr/local/bin/virtualenvwrapper_lazy.sh

Good article about setup from NPR here

Easy Postgres shortcut

alias pgdown='pg_ctl -D /usr/local/var/postgres stop -s -m fast'
alias pgup='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start'

Install grunt-cli, grunt-init and bower

npm install -g grunt-cli bower grunt-init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment