Reinstalling macOS

Setting-up a Mac for web development

15th April, 2017

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.

Homebrew

Install the missing package manager.

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

ZSH

brew install zsh zsh-completions

I then store my config files in a dotfiles repo. Symlink the .zshrc file and zplug will install all the required plugins.

rbenv

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

brew install rbenv
rbenv init

Choose a Ruby version to install:

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

Git

brew install git

Restart Terminal

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

Add the following:

[user]
    name = Will Stone
    email = will@wstone.io
[push]
    default = simple
[alias]
    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
  • Pixelmator
  • Wunderlist

Brew Cask Apps

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

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