New Mac Config

Matt Houghton
Nov 14, 2020

My previous Mac was starting to overheat so it was swapped for another.

I decided to install things as I required them rather than restore from a Time Machine backup as I thought I’d probably built up a lot of things that did not need over the last couple of years.

Here are my notes on the basic tools and config for a new Mac that I find useful working mostly with AWS.

Docker

https://www.docker.com/get-started

iTerm

https://www.iterm2.com

Parallels Toolbox

https://www.parallels.com/uk/products/toolbox/

Xcode Command Line Tools

xcode-select --install

Switch to ZSH

On Mac the default interactive shell is now zsh.
For more details, please visit https://support.apple.com/kb/HT208050.

chsh -s /bin/zsh

Install Oh My Zsh

https://github.com/ohmyzsh/ohmyzsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Install Homebrew

https://brew.sh

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Quick Look JSON

http://www.sagtau.com/quicklookjson.html

brew cask install quicklook-json

JQ

https://stedolan.github.io/jq/

brew install jq

Terraform

https://www.terraform.io

brew tap hashicorp/tap
brew install hashicorp/tap/terraform

AWS SAM

https://aws.amazon.com/serverless/sam/

brew tap aws/tap
brew install aws-sam-cli

AWS CLI

https://aws.amazon.com/cli/

curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /

PIP

https://pip.pypa.io/en/stable/installing/

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py

Make iTerm Look Nice

Colour theme set to solarized dark

Powerlevel 10k

https://github.com/romkatv/powerlevel10k

brew install romkatv/powerlevel10k/powerlevel10k
echo 'source /usr/local/opt/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

Restart iTerm and run through the config wizard that starts

ZSH iterm Touch Bar

https://github.com/iam4x/zsh-iterm-touchbar

brew install node
cd ${ZSH_CUSTOM1:-$ZSH/custom}/plugins
git clone https://github.com/iam4x/zsh-iterm-touchbar.git

.zshrc settings

ZSH_THEME="agnoster"plugins=(
git
git-prompt
aws
docker
git-extras
pip
python
zsh-iterm-touchbar
)
TOUCHBAR_GIT_ENABLED=true

--

--

Matt Houghton

Data Architect @CDL_Software , AWS Community Builder, 13 x AWS Certified. Qlik Global Luminary 50.