Skip to content

Instantly share code, notes, and snippets.

@damianesteban
Created March 27, 2015 03:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save damianesteban/40ad1c3cb26a9279b334 to your computer and use it in GitHub Desktop.
Save damianesteban/40ad1c3cb26a9279b334 to your computer and use it in GitHub Desktop.
osx-dev-guide-part-1

Setup an Uber Development Environment on OS X Yosemite 10.10

iTerm

First off, the Terminal application that OS X comes with is great, but iTerm is better.

thoughtbot's laptop script.

thoughbot is one of the best development teams around. They used to focus mostly on Ruby on Rails, but now they have expanded to iOS, JavaScript and even Haskell. They are kickass.

thoughtbot has made a script for OS X users to get up and running with Homebrew, Ruby, node.js and a whole lot more that works very well.

Here is what it installs:

What it sets up

  • Bundler for managing Ruby libraries
  • Exuberant Ctags for indexing files for vim tab completion
  • Foreman for managing web processes
  • gh for interacting with the GitHub API
  • Heroku Toolbelt for interacting with the Heroku API
  • Homebrew for managing operating system libraries
  • ImageMagick for cropping and resizing images
  • Node.js and NPM, for running apps and installing JavaScript packages
  • Postgres for storing relational data
  • Qt for headless JavaScript testing via Capybara Webkit
  • Rbenv for managing versions of Ruby
  • RCM for managing company and personal dotfiles
  • Redis for storing key-value data
  • Ruby Build for installing Rubies
  • Ruby stable for writing general-purpose code
  • The Silver Searcher for finding things in files
  • Tmux for saving project state and switching between projects
  • Zsh as your shell

How to install the laptop script

Open up iTerm and type (or copy/paste) in the following:

$cd ~

That command will take you to your home directory. You will probably be there by default anyway.

curl --remote-name https://raw.githubusercontent.com/thoughtbot/laptop/master/mac

That command downloads the script to your home directory.

sh mac 2>&1 | tee ~/laptop.log

That command runs the script and logs the results to laptop.log (in your home directory).

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