Skip to content

rcmdnk/homebrew-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

22460cb · Apr 15, 2025
Feb 3, 2025
Mar 17, 2025
Feb 13, 2025
Feb 17, 2025
May 14, 2015
Mar 17, 2025
Feb 15, 2025
Feb 27, 2023
Nov 23, 2024
Feb 13, 2025
Oct 4, 2024
Jan 5, 2023
Nov 23, 2024
Sep 21, 2017
Jan 31, 2025
Feb 17, 2025
Nov 10, 2024
Feb 17, 2025
Oct 10, 2023
Apr 15, 2025

Repository files navigation

Brew-file

Test Coverage Status Documentation Status

A powerful Brewfile manager for Homebrew on macOS and Linux.

Installation

Install Brew-file via Homebrew:

brew install rcmdnk/file/brew-file

Once installed, you can use the brew file command.

Features

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.
  • Supports Various Package Types

  • Automatic Brewfile Updates

    • Set up brew-wrap to automatically update your Brewfile on brew install, brew uninstall, and other package changes.
  • 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.
      • WARNING: It will enforce the state recorded in the Brewfile, potentially removing packages installed without brew-wrap. If you want to keep all packages in the system, you should better to run brew file init before running brew file update.
  • 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.

For more information, see the Brew-file Documentation.