Brew up your favourite MacOS apps in a snap using HomeBrew🍺 See the instructions for more information.
- Create a list of apps you want to install in a file called
brew-apps.txt. - The app names should be listed one per line, with each line containing the name of a Homebrew package (formula or cask).
Example brew-apps.txt file:
raycast
zoom
iina
postgresql
rectangle # This app will be dynamically categorized as "Miscellaneous"
some-app-that-does-not-exist # This app will not be found in the Homebrew repositoryTip
You can include any app available via Homebrew in the file. The script will attempt to install them as either formulas or casks.
- Download the install-apps.sh file.
-
Open your terminal.
-
Navigate to the directory where your
install-apps.shscript is located. -
Run the following command to make the script executable:
chmod +x install-apps.sh
-
Ensure your
brew-apps.txtfile is in the same directory as yourinstall-apps.shscript, or adjust the script path accordingly. -
Run the script by typing the following in your terminal:
./install-apps.sh
- The script will read each line in your
brew-apps.txtfile. - It will dynamically categorize each app based on its name and try to install it using Homebrew (either as a cask or formula).
- The script will log every step of the process, including:
- Successfully installed apps
- Apps already installed
- Apps that couldn’t be found or installed
Example Output:
[INFO] Starting app installation...
[INFO] Processing app: raycast (Category: Productivity)
[INFO] raycast is already installed (Cask).
[INFO] Processing app: zoom (Category: Productivity)
[INFO] zoom is already installed (Cask).
[INFO] Processing app: rectangle (Category: Miscellaneous)
[WARN] rectangle not found as a cask or formula. Skipping installation.
[INFO] Installation process complete!- If you want to add more apps or change the list, simply edit the
brew-apps.txtfile and rerun the script. - The script will handle new apps, and dynamically categorize and install them as before.