Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mrgkanev/simple-brew-tools

Simple Brew Tools Script is a Bash script for managing Homebrew packages on macOS, providing options to install, list, update, and clean up programs.
https://github.com/mrgkanev/simple-brew-tools

automation development-tools homebrew mac macos os package-manager scripting shell-script system-administration

Last synced: 22 days ago
JSON representation

Simple Brew Tools Script is a Bash script for managing Homebrew packages on macOS, providing options to install, list, update, and clean up programs.

Awesome Lists containing this project

README

        

# Simple Brew Tools Script

This script provides a simple menu interface for managing Homebrew packages.

## Prerequisites

- Ensure you have a macOS system.
- This script requires that you have an internet connection to install Homebrew and any packages.

## Features

1. **Install Homebrew**: Installs Homebrew on your system if it is not already installed.
2. **Backup Installed Programs and Versions**: Generates a list of all installed Homebrew programs and their versions and saves it to `brew_programs_backup.txt`.
3. **Install Programs**: Installs programs listed in `brew_programs_list.txt` sequentially.
4. **Uninstall Programs**: Uninstalls programs listed in `brew_programs_list.txt` sequentially.
5. **Update Programs**: Updates all installed Homebrew programs.
6. **Rollback Updates**: Rolls back to the previously installed versions of Homebrew programs using the backup file.
7. **Check Homebrew Health**: Checks the health of the Homebrew installation.
8. **Clean Up Homebrew**: Cleans up Homebrew by removing old versions of installed programs.
9. **Search for a Package**: Searches for a specific Homebrew package.
10. **List Outdated Packages**: Lists all outdated Homebrew packages.

## Usage

### Step 1: Make the Script Executable

```bash
chmod +x brew-tools.sh
```

### Step 2: Run the Script

```bash
./brew-tools.sh
```