Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mrgkanev/simple-brew-tools
- Owner: MrGKanev
- License: mit
- Created: 2024-07-16T10:11:26.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-07-16T14:25:36.000Z (4 months ago)
- Last Synced: 2024-10-04T21:42:13.463Z (about 1 month ago)
- Topics: automation, development-tools, homebrew, mac, macos, os, package-manager, scripting, shell-script, system-administration
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```