Skip to content

Instantly share code, notes, and snippets.

@mclarty
mclarty / setup.zsh
Last active May 26, 2025 15: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 applications from Homebrew
brew install 1password --cask