Workbrew streamlines secure, automated Homebrew package deployment for macOS, integrating seamlessly with Microsoft Intune 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 Microsoft administrator? These steps will get you up and going quickly. Read on for more detailed explanations.
If needed, check the Troubleshooting guide and FAQ or contact us for support
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 an unmanaged MacOS PKG app with a pre-installation script for the setup script. The app can then be assigned to enrolled devices for deployment, or made available for other groups to install at their leisure.
Please note that you cannot remotely uninstall unmanaged MacOS PKG apps with Microsoft Intune, nor will the app be automatically removed when a device is unenrolled.
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 Microsoft Intune tenant. In this section, you will create an Microsoft Graph API application with the “Read Microsoft Intune devices” permission, and retain the credentials for input into Workbrew.
To complete this step, follow the instructions in the Microsoft Graph API documentation to Register apps to use the Microsoft Graph API until you reach the following numbered steps:
The API Token created in the previous step will allow Workbrew to read from your Microsoft Intune tenant using the API. In this section, you will register Microsoft Intune as your MDM of choice within Workbrew.
Open Workbrew Workspace API key and installation script, copy the script, and store it for later. This script will run as a pre-installation script in the Custom App.
The Workbrew .pkg installs Workbrew, including the agent, CLI, and Homebrew. In this section, you will add the package as an unmanaged MacOS PKG app application to Microsoft Intune.
Download the package, and then follow the instructions in Add an unmanaged macOS PKG app to Microsoft Intune until you reach the following numbered steps:
Workbrew will be distributed to the groups assigned to the app in Step 6 above. If you skipped that step or need to add assignments in the future, access the app through the Microsoft Intune admin center, select the Properties pane, and then click Edit next to Assignments towards the bottom of the page. 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