--- title: "Deploying Homebrew Using a Custom Script" slug: "deploying-homebrew-using-a-custom-script" updated: 2025-07-22T17:15:10Z published: 2025-07-22T17:15:10Z canonical: "support.kandji.io/deploying-homebrew-using-a-custom-script" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.kandji.io/kb/llms.txt > Use this file to discover all available pages before exploring further. # Deploying Homebrew Using a Custom Script ### What is Homebrew? Homebrew is a free and open-source package management system for macOS that simplifies software installation. It has become a popular tool among developers and system administrators for its ease of use and extensive package availability. > [!NOTE] > As with all scripts, please test thoroughly before deploying to Mac computers in production. ### How Homebrew Works Homebrew integrates into the command-line interface (CLI) and allows local administrators to install required software via the CLI. This tool is particularly useful for developers and system admins who need to install libraries and tools efficiently. ### Prerequisites - Copy the InstallHomebrew.zsh script from the Kandji support GitHub repository ([GitHub Link](https://github.com/kandji-inc/support/blob/main/Scripts/InstallHomebrew.zsh)) ### Add a Custom Script To add this Library Item to your Kandji Library, follow the steps outlined in the [Library Overview](/kb/library-overview) article. ### Configure the Custom Script 1. Give your Custom Script a **Name.** 2. If using **Assignment Maps**, follow the instructions in our [Getting Started with Assignment Maps](/v1/docs/getting-started-with-assignment-maps) support article to assign the Custom Script to your desired Assignment Map. 3. If using **Classic Blueprints**, assign your Custom Script to your desired Blueprint. ![](https://cdn.document360.io/0844b095-d720-4a7b-bb17-ec97d9bc6e41/Images/Documentation/f6vlugknnyjkosjgflcni4zvanlxvklkna.png) 4. Select an **Execution Frequency**. 5. Optionally, make the script available in **Self Service**. 6. Paste the script from the prerequisites into the **Audit Script** field. 7. Click **Save** in the lower right-hand corner. ![](https://cdn.document360.io/0844b095-d720-4a7b-bb17-ec97d9bc6e41/Images/Documentation/zhwvgs7b9zllcv3xqnudzpzeuajri3_kcq.png)