Whisky Ops
open main menu
blog placeholder

New Mac setup (circa 2023)

/ 3 min read
Last updated:

Rough notes from setting up a new Mac, late 2022/early 2023. WIP and probably not up to date.

Hardware.

  • MacBook Pro 14” (2021), M1 Pro 10 core (8 performance and 2 efficiency), 32GB RAM, 512GB SSD
  • CalDigit USB-C Gen2 10Gb/s SOHO Dock- for single cable connectivity - usually in clam shell mode
  • LG 34GP950G-B 34 Inch Ultragear QHD (3440 x 1440) Nano IPS Display
  • IOGEAR 4x2 USB 3.0 Peripheral Sharing Switch - to easily switch keyboard, mouse, and video camera between Mac and PC.
  • Camera is an Anker PowerConf C300
  • Keyboard is a Keychron K8 Pro with Gateron Silent Brown’s
  • Mouse is a Razer DeathAdder V2 Pro Wireless
  • Speakers are Audioengine HD3’s
  • Desk is Uplift V2 with a 72” wide top
  • Chair is a Herman Miller Embody
  • Ubiquiti UniFi Dream Machine Pro (UDM-Pro) for networking and security cameras
  • Synology DS720+ NAS with 2x 4TB Seagate IronWolf Pro drives

Apps (Personally owned/licensed).

Web apps (Personal).

Command line tools.

  • Homebrew - Package manager
  • Go - Programming language
  • gcloud - Google Cloud CLI

Brew installed apps.

Apps I should install via brew.

# pulumi - Infrastructure as code
brew install pulumi
# fnm - faster Node version manager
brew install fnm
# pyenv - Python version manager
brew install pyenv pyenv-virtualenv
# wget - download files
brew install wget
# gh - GitHub CLI
brew install gh

Random post setup.

Random bash commands to run after a fresh install and after installing brew and brew apps.

# setup oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# setup fnm
fnm install 18
# add fnm to .zshrc
echo 'eval "$(fnm env)"' >> ~/.zshrc
# setup pyenv
pyenv install 3.10.9
# set default python version
pyenv global 3.10.9
# install and setup `delta` for diffing
brew install git-delta

Git config:

git config --global init.defaultBranch main
git config --global user.name ""
git config --global user.email [email protected]
git config --global core.pager "delta"
git config --global interactive.diffFilter "delta --color-only"
git config --global merge.conflictstyle "diff3"
git config --global diff.colorMoved "default"

VS Code extensions

WIP

 ~ code --list-extensions
astro-build.astro-vscode
dbaeumer.vscode-eslint
donjayamanne.githistory
esbenp.prettier-vscode
GitHub.copilot
golang.go
ms-python.python
ms-python.vscode-pylance
streetsidesoftware.code-spell-checker
yzhang.markdown-all-in-one