Skip to content

Bash script automates the installation of Homebrew, packages, and casks on macOS

License

Notifications You must be signed in to change notification settings

1B05H1N/brew-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Homebrew Package Installation Script

This Bash script automates the installation of Homebrew, packages, and casks on macOS. It's particularly useful for setting up a development or testing environment, especially for security professionals who require specific packages for their work.

Features

  • Installs Homebrew if not already installed.
  • Creates or updates package lists in brew_packages.txt and brew_casks.txt.
  • Generates an installation script, install_brew_packages.sh, for easy package and cask installations.

Prerequisites

Before running this script, ensure you have the following prerequisites:

  • A macOS operating system.
  • An internet connection to download Homebrew and packages.

Usage

  1. Clone this repository to your local machine or download the script directly.

  2. Open your terminal and navigate to the directory containing the script.

  3. Make the script executable by running:

    chmod +x install_brew_packages.sh
  4. Run the script:

    ./install_brew_packages.sh
  5. The script will check if Homebrew is installed. If not, it will install Homebrew.

  6. It will also check for the existence of package lists (brew_packages.txt and brew_casks.txt). If they don't exist, it will generate them based on your system's installed packages.

  7. The script will create an installation script (install_brew_packages.sh) that lists the packages and casks for installation.

  8. Finally, you can run the generated install_brew_packages.sh script to install the specified packages and casks.

Customization

You can customize this script by:

  • Adding or removing packages and casks from the brew_packages.txt and brew_casks.txt files.
  • Modifying the security_tools array to include additional security testing tools you require.

License

This script is open-source and released under the MIT License. Feel free to use, modify, and distribute it.

Acknowledgments

  • Homebrew - The missing package manager for macOS.
  • GitHub - Hosting and version control platform.

About

Bash script automates the installation of Homebrew, packages, and casks on macOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages