About This Project
Brew Scripts is a small set of shell scripts for installing, updating, and cleaning up Homebrew on macOS. The source is commented inline so you can read what each script does before you run it.
The scripts cover the lifecycle: first-time Homebrew install, batch app installation from a config file, scheduled auto-updates with email or text notifications, and periodic cleanup. Each one runs independently and supports --dry-run to show what it would do without touching your system.
Why It Exists
I got tired of copy-pasting setup commands every time I got a new Mac, and tired of half-remembering which package I had and didn't have. So I wrote it down — once, with comments — and turned it into something I could re-run on any machine.
It handles the things that always trip me up: Apple Silicon vs Intel paths, zsh vs bash config, scheduling with launchd, and idempotent re-runs so you can safely run the same script twice without it duplicating work.
It's also a worked example of shell scripting that isn't cryptic. If you've wanted to see how to structure a real bash script — error handling, logging, config parsing, signal handling — the source is meant to be read.
Open Source
Brew Scripts is licensed under the MIT License. You're free to use, modify, and distribute the code for any purpose — personal, educational, or commercial. There are no restrictions beyond preserving the license notice.
We welcome contributions of all kinds. Whether it's fixing a bug, improving documentation, suggesting a new feature, or adding support for additional tools and applications, your input makes the project better for everyone. Visit the GitHub repository to browse the source code, open an issue, or submit a pull request. Every contribution is reviewed and appreciated.
Part of CodeCraftedApps
Brew Scripts is maintained by CodeCraftedApps — an independent shop building apps and tools for the Apple ecosystem.
Other projects and contact info at codecraftedapps.com, or use the Contact page.