Skip to content

Instantly share code, notes, and snippets.

@bironeaj
Created August 10, 2020 02:37
Show Gist options
  • Save bironeaj/ca5cb88c34fc25ae5aeaf7abe39f0416 to your computer and use it in GitHub Desktop.
Save bironeaj/ca5cb88c34fc25ae5aeaf7abe39f0416 to your computer and use it in GitHub Desktop.
#!/bin/sh
# This script will download and install NinjaRMM Agent for Mac
AppName=NinjaRMMAgent
mkdir /tmp/$AppName
cd /tmp/$AppName
curl -L -o $2 $1
sudo installer -pkg $2 -target /
rm -rf /tmp/$AppName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment