Pietro Passarelli

New Mac Setup


Setting up a new mac is hopefully a once in a blue moon activity. However when it does happen is hard to remember what's the minimum you need to get started. So here's my latest list.

Setting up a new mac is hopefully a once in a blue moon activity. However when it does happen is hard to remember what's the minimum you need to get started. So here's my latest list.

Mac apps

Browsers

Chrome extensions

Messaging

Dev

See your current branch in the terminal prompt

Git config to see current branch in terminal

Add this to your .bash-profile:

# See your git current branch in the bash prompt
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}

export PS1="\u@\h \W\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ "

Dev - Chrome extensions

  • React Developer Tools
  • JSONView
  • xcode command-line utility (for github)
    • in terminal xcode-select --install
  • Homebrew
    • in terminal /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • nvm
  • Git
    • In terminal brew install git

Visual code extensions

Other media Mac apps