--- title: "Install SentinelOne on macOS devices" slug: "install-sentinelone-on-macos-devices" updated: 2024-10-18T07:38:07Z published: 2024-10-18T07:38:07Z canonical: "help.scalefusion.com/install-sentinelone-on-macos-devices" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.scalefusion.com/llms.txt > Use this file to discover all available pages before exploring further. # Install SentinelOne on macOS devices The following script allows IT Admins to install SentinelOne on macOS devices along with activating the token for it. ## Step 1: Uploading PKG file to Content Management 1. Navigate to Content Management > Content. ![](https://cdn.document360.io/175c0eac-012f-4410-bdc5-ac60794f82d8/Images/Documentation/image-7XKJEDQN.png) 2. Upload the SentinelOne PKG file to the Content management. ![](https://cdn.document360.io/175c0eac-012f-4410-bdc5-ac60794f82d8/Images/Documentation/image-VIIUG5TI.png) 3. Copy the download URL from here and save it. ![](https://cdn.document360.io/175c0eac-012f-4410-bdc5-ac60794f82d8/Images/Documentation/image-NA0IFF1B.png) ## Step 2: Upload the script 1. Create a file on your desktop, for example, **Install_SentinelOne.sh** and open it in a text editor like notepad++ 2. Copy the contents below to the file or click [here](https://cdn.document360.io/175c0eac-012f-4410-bdc5-ac60794f82d8/Images/Documentation/Install%20SentinelOne%20with%20token%20on%20mac.sh) to download the file. 1. In the script replace the below placeholders: 1. sentinelToken=Enter the sentinelToken Here 2. downloadLink=Enter the Download URL of the Appname.pkg file from Content management 3. pkgName= SentinelOne app’s package name ```bash #!/bin/bash sentinelToken="Enter the sentinelToken Here" downloadLink="Enter the Download URL of the Appname.pkg file from Content management" pkgName="Appname.pkg" #You can put the installer on dropbox or where you prefer. if [ -d /Applications/SentinelOne/ ]; then  echo "Already Installed"  echo $sentinelToken > /tmp/com.sentinelone.registration-token  exit 0 else #Download Agent curl -L -o /tmp/$pkgName $downloadLink #Set Token echo $sentinelToken > /tmp/com.sentinelone.registration-token #Install Agent /usr/sbin/installer -pkg /tmp/$pkgName -target / fi ``` 3. Choose '**Run Script as signed-in user**' as **No** while uploading the script. ![](https://cdn.document360.io/175c0eac-012f-4410-bdc5-ac60794f82d8/Images/Documentation/image-OBGXV3P7.png) 4. Follow [our guide](/docs/execute-shell-scripts-on-macos-devices-with-scalefusion) to upload & publish the Shell script using Scalefusion Dashboard. > [!NOTE] > Please note that to use the Shell scripts, the Scalefusion MDM Client Application must be installed on the device(s). Please follow [our guide](/docs/scalefusion-mdm-agent-application-for-mac-devices) to publish and install the Scalefusion MDM Agent Application. > [!CAUTION] > Note: > > 1. The scripts and their contents are sourced from various albeit authenticated Apple Developer communities and forums. > 2. Please validate the scripts on a test machine before deploying them on all your managed devices. > 3. Scalefusion has tested these scripts, however, Scalefusion will not be responsible for any loss of data or system malfunction that may arise due to the incorrect usage of these scripts.