How to Install Keka for macOS using JumpCloud Commands

The next script talks you through how to install Keka for macOS using JumpCloud Commands. It follows a similar structure to the other commands I have posted. Creates a temp repo on the mac, downloads the latest version, mounts, installs, and removes the temp files. Simple but effective. I have broken this out of this post as I am separating all of the commands into there own blog post.

Keka is the macOS file archiver – Store more, share with privacy

Install Keka for macOS using JumpCloud Commands.

# Script to download, Silent Install and then clean up once installed Keka 
# Writen by twitter.com/richhickson 
# www.RichardHickson.com 

# Make temp folder for downloads. 
mkdir "/tmp/keka/"; cd "/tmp/keka/"; 

#Download Keka. 
curl -L -o /tmp/keka/keka.dmg "https://d.keka.io/"; 

#Mount DMG
hdiutil attach /tmp/keka/keka.dmg; 

#Copy App to Applications 
sudo cp -R "/Volumes/Keka/Keka.app" /Applications; 

#Unmount DMG 
hdiutil detach /Volumes/Keka; 

#Remove Temp Files 
sudo rm -rf "/tmp/keka/";

Leave a Comment