Fetching contributors…
Cannot retrieve contributors at this time
55 lines (38 sloc) 1.28 KB

From 2011-2017, I was the primary maintainer of thoughtbot/laptop, a shell script which sets up a Mac OS X machine as a sofware development environment.

I now work in an open source monorepo, which contains a descedent of the thoughtbot/laptop script: The script is coupled to a set of dotfiles.


Set the OK environment variable to a directory of your choice:

export OK="$HOME/src/statusok"

Clone onto laptop:

git clone $OK
cd $OK

Review, then run, the script:


What it sets up

The script is tested on macOS High Sierra (10.13). It:

  • uses Homebrew to install or upgrade system packages such as Git, Postgres, and Vim
  • creates or updates symlinks from $OK/dotfiles to $HOME
  • uses ASDF to install or update programming languages such as Ruby, Node, and Go

The script should take about 10 minutes to install on a fresh machine.

This script can be run safely multiple times. I run it most working mornings.