You can download and install the CLI by executing the following commands for your platform from a command prompt.
Initial Installation
- Red Hat Enterprise Linux
rpm --import https://archive.services.jamfcloud.com/gpg-public-key.asc yum-config-manager --add-repo=https://archive.services.jamfcloud.com/rpm/ yum install jamf-pro-server-tools- Ubuntu
curl -fsSL "https://archive.services.jamfcloud.com/gpg-public-key.asc" | sudo gpg --dearmor -o /usr/share/keyrings/jamf-gpg-public-key.gpg echo "deb [arch=amd64,arm64 signed-by=/usr/share/keyrings/jamf-gpg-public-key.gpg ] https://archive.services.jamfcloud.com/deb stable main" | sudo tee /etc/apt/sources.list.d/jamf.list > /dev/null sudo apt-get update sudo apt-get install jamf-pro-server-tools
Upgrading from CLI 2.2.6 or Earlier on Linux
Starting with CLI 2.2.7, the location of the repositories was changed for Linux. If you are upgrading from CLI 2.2.6 or earlier on Linux, you must run the following commands instead of the commands listed above to move the repositories to the new location.
- Red Hat Enterprise Linux
- Execute the following command to move the repositories to the new location:
rm /etc/yum.repos.d/archive.servers.jamfcloud*.repo yum-config-manager --add-repo=https://archive.services.jamfcloud.com/rpm/ yum update - Ubuntu
- Execute the following command to move the repositories to the new location:
add-apt-repository --remove 'deb https://archive.services.jamfcloud.com/jamf-pro-server-tools/release/deb stable main' add-apt-repository 'deb https://archive.services.jamfcloud.com/deb stable main' apt update