Deploying Homebrew as a Custom Script

How to deploy the Homebrew agent as a Custom Script on your macOS devices.

Script to install Homebrew

This script is maintained in the Kandji Support GitHub repo.

Add a Custom Script:

  1. Click Library in the left-hand navigation bar.
  2. Click Add New in the upper right-hand corner.
  3. Click Custom Script.

Configure the Custom Script:

  1. Give your Custom Script a Name.
  2. Assign your Custom Script to your desired Blueprint(s).
  3. Select an Execution Frequency.
  4. Copy and paste the code from the GitHub link for InstallHomebrew.sh into the Script Details field.
  5. Click Save in the lower right-hand corner.
    homebrew_library_item_settings

As with all scripts, we recommend testing before deploying on machines in production.