A powerful Brewfile manager for Homebrew on macOS and Linux.
Install Brew-file via Homebrew:
brew install rcmdnk/file/brew-file
Once installed, you can use the brew file
command.
Brew-file enhances your Homebrew experience with the following features:
-
Brewfile-Based Package Management
- Use
brew file init
to generate a Brewfile from currently installed packages. - Use
brew file install
to install packages listed in a Brewfile.
- Use
-
Supports Various Package Types
- Homebrew formulae, casks and taps.
- Apps installed from the Mac App Store.
- whalebrew images.
- Extensions for Visual Studio Code.
-
Automatic Brewfile Updates
- Set up brew-wrap to automatically update your Brewfile on
brew install
,brew uninstall
, and other package changes.
- Set up brew-wrap to automatically update your Brewfile on
-
Brewfile Shareing, Version Control
- Easily share and manage your Brewfile using Git integration.
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
- Organize packages by environment with customized Brewfiles, like:
Brewfile
for common packages across systems.Brewfile.linux
for Linux-specific packages.Brewfile.mac
for macOS-specific packages.Brewfile.$HOSTNAME
for host-specific packages.
- Organize packages by environment with customized Brewfiles, like:
For more information, see the Brew-file Documentation.