❯ en / homebrew-fleet

Fleet-wide Homebrew: install & keep up to date

After SSH onboarding, use school-brew to install Homebrew and common software across every school Mac with one command and keep the whole fleet up to date.

⭐ Fleet-wide Homebrew: install & keep up to date

First big task after onboarding (SSH works): make the whole fleet able to install software and stay on the latest versions. One command, via tools/mac-fleet/school-brew.


1. Standard procedure

# Install Homebrew where missing (non-interactive; needs ADMIN_SUDO_PASS for CLT)
tools/mac-fleet/school-brew --group all setup

# Install software fleet-wide
tools/mac-fleet/school-brew --group all install git wget coreutils

# Keep everything up to date (brew update && upgrade && cleanup)
tools/mac-fleet/school-brew --group all upgrade

# See what's outdated first
tools/mac-fleet/school-brew --group all outdated

💡 Schedule it: wrap upgrade in cron/launchd to run weekly off-hours so the whole school stays current automatically.


2. Landmines & how to dodge them

See ../zh-TW/pitfalls.md for the full catalogue (zh-TW).