Will Stone

Reinstalling macOS

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


Install Xcode from App Store

sudo xcodebuild -license

Install Homebrew

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

Install rbenv

brew install rbenv
rbenv init
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile

Now restart terminal

Pick a Ruby version to install

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

Trash CLI - github.com/ali-rantakari/trash

brew install trash


brew install node

Hyper Terminal

brew cask install hyper


brew install zsh zsh-completions


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

Change default shell to ZSH

echo /usr/local/bin/zsh >> /etc/shells
sudo nano /etc/shells
chsh -s /usr/local/bin/zsh

.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_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"

Save and close TextEdit.

open -a TextEdit ~/.zshrc

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


brew install git

Restart Hyper

nano ~/.gitconfig

If ~/.gitconfig doesn’t exist, touch it. Add/merge the following.

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

App Store Apps

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

Brew Cask Apps

brew cask install …
  • dropbox
  • visual-studio-code (install sync-settings extension)
  • flux
  • 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