Manages macOS development environment using Homebrew Brewfile for declarative package, application, and VSCode extension management.
This skill helps manage macOS development environments using Homebrew Brewfiles for declarative package, application, and VSCode extension management.
Provides comprehensive guidance for working with Homebrew-based development environment repositories that use Brewfiles to define and manage installed packages, casks, and VSCode extensions in a declarative way.
When working with Homebrew environment repositories, follow these guidelines:
**Installing/Updating Packages:**
```bash
brew bundle
brew bundle --file=/path/to/Brewfile
```
**Checking Environment Sync:**
```bash
brew bundle check
```
**Generating Brewfile:**
```bash
brew bundle dump --describe --force
```
**Cleanup:**
```bash
brew bundle cleanup --dry-run
brew bundle cleanup
```
**System Updates:**
```bash
brew update && brew upgrade
```
For new environment setups:
```bash
ln -s $(pwd)/Brewfile ~/Brewfile
```
When analyzing or modifying Brewfiles, understand these typical categories:
When modifying the environment:
1. Edit the Brewfile to add/remove packages
2. Run `brew bundle` to apply changes
3. Use `brew bundle cleanup` to remove packages no longer in Brewfile
4. Commit changes to version control
**Adding a new package:**
1. Add line to Brewfile: `brew "package-name"`
2. Run `brew bundle`
**Syncing environment to Brewfile:**
1. Run `brew bundle check` to see discrepancies
2. Run `brew bundle cleanup` to remove unlisted packages
**Capturing current environment:**
```bash
brew bundle dump --describe --force
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/homebrew-environment-manager/raw