Workbrew streamlines secure, automated Homebrew package deployment for macOS, integrating seamlessly with Kandji to give IT teams centralized device management. Homebrew is the de-factor package manager on macOS, installed on tens of millions of devices and offering more than 15,000 packages. With zero-touch deployment, policy enforcement, and real-time monitoring, Workbrew lets you leverage the power of Homebrew, whilst ensuring compliance and eliminating security risks.
By the end of this deployment guide you will:
Before you begin following this guide, you should:
Are you an experienced Kandji administrator? These steps will get you up and going quickly. Read on for more detailed explanations.
Workbrew is installed using a signed .pkg file, which installs several components:
In addition to installing the Workbrew .pkg on each device, you must run a (bash) script which connects the Workbrew agent to your Workbrew Console. The script also installs Command Line Tools for Xcode if your devices do not already have it. The Workbrew Console connection wizard will guide you through customization to your install script.
You can deploy the Workbrew .pkg as a Custom App with a pre-installation script for the setup script, using the Assignment Map Blueprint detailed in the following. You can use the Assignment Map to deploy Workbrew to your enrolled devices, or enable Self Service on the Custom App to allow users to install at their leisure.
In brief, you will perform these steps to ready Workbrew for deployment:
To populate your Workbrew Console with information about your devices and users, Workbrew requires Read-Only API access to your Kandji instance. In this section, you will create an API Token with sufficient permissions and retain the credentials for input into Workbrew.
To complete this step, follow the instructions in the Kandji Documentation to Generate an API Token until you reach the following numbered steps:
The API Token created in the previous step will allow Workbrew to read from your Kandji instance using the API. In this section, you will register Kandji as your MDM of choice within Workbrew.
The Workbrew .pkg installs Workbrew, including the agent, CLI, and Homebrew. In this section, you will add the package to Kandji so that it can be distributed as part of the Workbrew installation Assignment Map Blueprint. It can also optionally be made available via self service.
Download the package, and then follow the instructions under Add an App to your Kandji library until you reach the following numbered step:
On this page, you can also enable users to install the app through self service by toggling the control in the top right of the “Self Service” pane. This may be useful if your Execution Frequency is any option other than enforced, e.g. if selecting “Install once per device”, a user who removes Workbrew from their device can later reinstall it via Self Service if their needs change.
The Custom App will be deployed through an Assignment Map Blueprint. In this step, you will create an Assignment Map and add the Workbrew Custom App to it.
Follow the steps in Creating an Assignment Map until you reach the following numbered step:
Next, follow the steps in Adding Library Items to an Assignment Map until you reach the following numbered step:
You can now assign or enroll devices to this Assignment Map from the Devices tab. Once Workbrew has been deployed to a device, it will appear on the Workbrew Console.
Workbrew simplifies large-scale device management through integrations with MDM provders SimpleMDM, Jamf, Kandji, and Fleet.
Read More