Will Stone

Reinstalling macOS

16th April, 2017

An opinionated way of setting up a Mac for web development. I keep this updated for my own benefit, feel free to use it.

Erase and Reinstall

Follow Apple’s official insctructions on reformatting your Mac.


Install the missing package manager.

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update


brew install zsh zsh-completions


curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh

.zshrc Tweak - ls with colour

alias ls="ls -fG"

Custom Oh-My-ZSH theme

touch ~/.oh-my-zsh/themes/wstone.zsh-theme
open -a TextEdit ~/.oh-my-zsh/themes/wstone.zsh-theme

Copy the following:

local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"

%{$fg[cyan]%}${PWD/#$HOME/~}%{$reset_color%} $(git_prompt_info)

ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[yellow]%}✗"

Save and close TextEdit.

open -a TextEdit ~/.zshrc

Change the ZSH_THEME constant to ZSH_THEME="wstone". Save, close, restart Terminal.


Use rbenv to manage the version of Ruby your system will use.

brew install rbenv
rbenv init
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(rbenv init -)"' >> ~/.zshrc

Now restart terminal.

Choose a Ruby version to install:

rbenv install -l
rbenv install 2.4.1
echo 2.4.1 >> ~/.ruby-version


brew install node


brew install git

Restart Terminal

touch ~/.gitconfig
open -a TextEdit ~/.gitconfig

Add the following:

    name = Will Stone
    email = will@wstone.io
    default = simple
    a = add
    cm = commit -m
    s = status
    p = push

Trash CLI

Easily move items to the trash from the command line, using trash filename. Website: github.com/ali-rantakari/trash

brew install trash

App Store Apps

  • Affinity Designer
  • DaisyDisk
  • Divvy
  • Pixelmator
  • Tweetbot
  • Wunderlist

Brew Cask Apps

brew cask install …
  • appcleaner
  • dropbox
  • visual-studio-code (install sync-settings extension)
  • google-chrome
  • istat-menus (Preferences are stored in Dropbox)
  • qlmarkdown (Quick Look Markdown; use the spacebar in finder to quickly open markdown files)
  • spotify
  • statusfy
  • telegram

If you would like to comment on this post, feel free to tweet me @will_stone_