#!/bin/bash # Prole Installer: Homebrew # Ensures Homebrew is present and up to date on macOS set -euo pipefail echo "[prole] Checking Homebrew..." if ! command -v brew >/dev/null 2>&1; then echo "[prole] Installing Homebrew..." /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" else echo "[prole] Homebrew present; updating taps and packages..." brew update brew upgrade || true fi echo "[prole] Homebrew OK"