Skip to content
/ brewify Public

Manage Homebrew packages integrated fzf with this python utility.

License

Notifications You must be signed in to change notification settings

stowyh/brewify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brewify

Features

  1. Install/Uninstall
    • Lets you install (formula, cask, or bundle) or uninstall existing Homebrew packages.
  2. Bundle Mode
    • Build a list (formula or cask mix) and install them all at once.
  3. Interactive Search
    • Uses pyfzf and fzf for fuzzy searching across available Homebrew packages.

Requirements

  • macOS with Xcode Command Line Tools (the script itself checks and installs if necessary)
  • Homebrew (the script also checks and installs if necessary)
  • Python 3.6+
  • pip to install any missing Python dependencies

Setup and Usage

  1. Clone this repository onto your macOS system.
git clone https://github.com/stowyh/brewify.git
  1. Create and activate a Python 3 virtual environment:

    # Create a new virtual environment in a folder called 'venv'
    python3 -m venv venv
    # Activate the virtual environment
    source venv/bin/activate

    Why a virtual environment? Ensures the script installs Python dependencies (like pyfzf, requests) into a separate, safe environment without cluttering your global Python installation.

  2. Run the script:

    python3 homebrew_installer.py

Important Notes

  1. Potential Additional Permissions

    • Installing Xcode CLT or Homebrew might prompt you for your administrator password or require you to accept Apple’s license agreement.
  2. Using Another Shell

    • If you use zsh, fish, or another shell, activating the virtual environment is slightly different (e.g. source venv/bin/activate.fish for fish). Check your shell’s documentation.

Demo

demo

Contributing

Pull requests and issue reports are welcome. For major changes, open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Manage Homebrew packages integrated fzf with this python utility.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages