Skip to main content

I know how to manually download Defender. I was wondering if there is a way to download the up to date version on the command line?

We use the following script to download and install pkg with the current version



#!/bin/bash

link=$4
programName=$5
/usr/bin/curl -s -o /tmp/"$programName.pkg" -L $link
sudo jamf install -package $programName.pkg -path /tmp -target /
rm /tmp/$programName.pkg


If you go to https://macadmins.software/ and copy the link to the installers, it's always the latest version via static link 🙂


Thanks @whitebeer. I guess it's the plists that get put into the config profile that do all the configuration for updates etc



Much appreciated!



Will give this a try