macos-brew

Installation
SKILL.md

Purpose

This skill automates Homebrew operations on macOS, enabling efficient management of software packages, including formulae, casks, services, taps, and version pinning. It focuses on core Homebrew features to handle package installation, updates, and system integration via the /opt/homebrew PATH.

When to Use

Use this skill for macOS package management tasks, such as installing dependencies in scripts, updating tools in CI/CD pipelines, or configuring development environments. Apply it when dealing with Homebrew-specific features like casks for GUI apps or taps for custom repositories, especially in automated workflows or when ensuring reproducible setups.

Key Capabilities

  • Formulae Management: Install, upgrade, or remove command-line tools (e.g., via brew install wget), including dependency resolution and version pinning using brew pin <formula>.
  • Casks Handling: Manage GUI applications (e.g., brew install --cask google-chrome), with options to ignore dependencies or force reinstalls.
  • Services Control: Start, stop, or restart background services (e.g., brew services start postgresql), integrating with macOS launchd.
  • Taps Integration: Add external repositories (e.g., brew tap homebrew/cask), enabling access to non-core packages.
  • PATH and Bundle Management: Configure /opt/homebrew in PATH for scripts, and use brew bundle to manage package lists from a Brewfile for reproducible environments.
  • Version Pinning: Lock package versions to prevent updates (e.g., brew pin node@14), ensuring stability in production setups.

Usage Patterns

Related skills
Installs
25
GitHub Stars
5
First Seen
Mar 7, 2026