Skip to content

Instantly share code, notes, and snippets.

@swityjon2026
swityjon2026 / setup-mac.sh
Last active May 14, 2026 18:36
Criterion B CRM Mac setup (Ashley/Patrick/Jon)
#!/usr/bin/env bash
# Ashley's one-shot Mac setup for the Criterion B CRM project.
#
# What it does:
# 1) Installs Homebrew (if missing) + git, gh, node, pnpm, uv, postgresql@16
# 2) Installs Claude Code (npm global)
# 3) Generates an SSH key if Ashley doesn't have one, prints the public key
# 4) Writes ~/.ssh/config alias "swifty-server"
# 5) Clones Criterion-B/crm to ~/Projects/crm (after she runs `gh auth login`)
# 6) Initializes local Postgres and the crm_local dev database