homebrew
Original:🇺🇸 English
Translated
1 scripts
Install, manage, and search for software packages on macOS using Homebrew. Use this skill when the user asks to install software, apps, CLI tools, developer utilities, programming languages, databases, or any package on a Mac. Supports formulae (CLI tools) and casks (GUI apps). Can also search, update, upgrade, uninstall, and diagnose Homebrew issues.
7installs
Sourcedalehurley/phpbot
Added on
NPX Install
npx skill4agent add dalehurley/phpbot homebrewTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Skill: homebrew
When to Use
Use this skill when the user asks to:
- Install software, a tool, an app, or a package on macOS
- Install a programming language, database, or dev tool (e.g. node, python, redis, postgres, go, rust)
- Install a GUI/desktop application via (e.g. Chrome, Slack, Docker, VS Code)
brew install --cask - Search for available packages or check if something is installable via Homebrew
- List installed packages or check what's currently on the system
- Update Homebrew or upgrade installed packages
- Uninstall / remove a package
- Diagnose or fix Homebrew issues ()
brew doctor - Tap a new Homebrew repository
- Check info or version of an installed package
Prerequisites
- macOS only — Homebrew is a macOS package manager (also works on Linux but this skill targets Mac)
- Homebrew must be installed. If not, install it first:
bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Available Tool
The tool is registered as a core tool. Use it directly:
brew| Action | Tool Input | Description |
|---|---|---|
| | Install one or more formulae |
| | Install GUI apps via cask |
| | Remove installed packages |
| | Search for available packages |
| | Get detailed info about a package |
| | List all installed formulae |
| | List all installed cask apps |
| | Update Homebrew itself |
| | Upgrade all outdated packages |
| | Upgrade specific packages |
| | Diagnose Homebrew issues |
| | Add a third-party repo |
| | Show packages with updates available |
Procedure
- Check Homebrew is available: The tool will automatically verify Homebrew is installed before running any action. If not found, it will return instructions to install it.
brew - Determine what to install: Extract the package name(s) from the user's request. If unclear, use to clarify.
ask_user - Choose formulae vs cask: CLI tools use , GUI apps (Chrome, Slack, Docker Desktop, etc.) use
install.install_cask - Execute: Call the tool with the appropriate action and parameters.
brew - Report results: Confirm what was installed/updated/removed with version info where available.
Common Package Examples
CLI Tools & Languages (formulae)
| Request | Package Name |
|---|---|
| "install node" | |
| "install Python" | |
| "install PHP" | |
| "install Go" | |
| "install Rust" | |
| "install Redis" | |
| "install PostgreSQL" | |
| "install MySQL" | |
| "install Git" | |
| "install FFmpeg" | |
| "install wget" | |
| "install jq" | |
| "install ripgrep" | |
| "install Docker CLI" | |
GUI Apps (casks)
| Request | Cask Name |
|---|---|
| "install Chrome" | |
| "install VS Code" | |
| "install Slack" | |
| "install Docker Desktop" | |
| "install Spotify" | |
| "install Figma" | |
| "install iTerm" | |
| "install Rectangle" | |
| "install 1Password" | |
| "install Cursor" | |
Example
Example requests that trigger this skill:
install node and redis on my mac
I need ffmpeg installed
install google chrome
what packages do I have installed?
search for a markdown editor
update all my brew packages
is postgres installed?
install docker desktop