Reinstall macOS

Fri, 9 Feb 2018

I keep this updated for my own benefit, feel free to use it.

Erase and Reinstall

Follow Apple’s official instructions on reformatting your Mac.


Install the missing package manager.

/usr/bin/ruby -e "$(curl -fsSL"
brew update

Fish Shell

brew install fish
echo "/usr/local/bin/fish" | sudo tee -a /etc/shells
chsh -s /usr/local/bin/fish

Restart or open a new terminal.

Install the Fish prompt theme, based on the theme by Brandon Weiss

mkdir ~/.config/fish/functions
curl > ~/.config/fish/functions/

Tweak ls function:

touch ~/.config/fish/functions/
open -a TextEdit ~/.config/fish/functions/

Copy/paste the following and save

function ls --description 'List contents of directory'
  command ls -aG $argv

Add c function, which aliases code, quickly opening Visual Studio Code:

touch ~/.config/fish/functions/
open -a TextEdit ~/.config/fish/functions/

Copy/paste the following and save

function c --description 'Open VS Code here'
  if count $argv > /dev/null
    command code $argv
    command code .

Fisher and Verman

Install Fisher fish-shell package manager:

curl -Lo ~/.config/fish/functions/ --create-dirs

Add Vermam version manager:

fisher i verman

Fix dock

By default the dock has a slight delay to show (when set to auto-hide), this will remove it.

defaults write autohide-delay -int 0;
and defaults write autohide-time-modifier -float 1.0;
and killall Dock

Update Ruby

brew install ruby

Update Git

brew install git
touch ~/.gitconfig
open -a TextEdit ~/.gitconfig

Add the following:

    name = Will Stone
    email = EMAIL
    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:

brew install trash


brew tap caskroom/fonts
brew cask install font-hack

Install Yarn

brew install yarn

Brew Cask Apps

brew cask install alfred appcleaner bettertouchtool dropbox firefox google-chrome istat-menus qlmarkdown spotify telegram visual-studio-code


App Store Apps