A powerful Brewfile manager for Homebrew on macOS and Linux.
Install Brew-file via Homebrew:
brew install rcmdnk/rcmdnkpac/homebrew-file
Once installed, you can use the brew file
command.
Brew-file enhances your Homebrew experience with the following features:
Brewfile-Based Package Management
brew file init
to generate a Brewfile from currently installed packages.brew file install
to install packages listed in a Brewfile.Supports Various Package Types
Automatic Brewfile Updates
brew install
, brew uninstall
, and other package changes.Brewfile Shareing, Version Control
brew file update
will pull the latest changes from the remote repository, install/uninstall based on the changes, update Brewfile, commit and push the changes.Flexible Brewfile Organization
Brewfile
for common packages across systems.Brewfile.linux
for Linux-specific packages.Brewfile.mac
for macOS-specific packages.Brewfile.$HOSTNAME
for host-specific packages.For more information, see the Brew-file Documentation.