Skip to content

Instantly share code, notes, and snippets.

@mclarty
mclarty / setup.zsh
Last active November 6, 2025 18:23
Setup a new Mac
#!/bin/zsh
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo >> ~/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
# Install formulae from Homebrew
#brew install gh