Jamf Concepts

Jamf CLI

New

Unified command-line interface for Jamf Pro and Jamf Protect — manage Apple device fleets, security configurations, and automate workflows at scale.

Developer ToolsmacOS

Jamf CLI is a unified command-line interface for both Jamf Pro and Jamf Protect. It provides modern, developer-friendly tooling to manage Apple device fleets and security configurations from the terminal.

Features

Jamf Pro

  • Full API coverage across both Modern OpenAPI-generated and Classic /JSSResource/ endpoints
  • Instance health dashboard with 37 parallel API calls (overview command)
  • Device management: erase, MDM control, redeploy, blank push, lock, remote desktop
  • Scope management for policies, config profiles, restricted software, and apps
  • Device deep-dive aggregation and fleet security posture reporting
  • Bulk operations targeting by serial number, name, ID, group, or file

Jamf Protect

  • Full SDK coverage for plans, analytics, exception sets, USB control, telemetry, and more
  • Idempotent upsert via apply commands
  • Configuration export/import in JSON or YAML
  • Granular mutations: add/remove rules, analytics, and exceptions

Cross-product

  • Five output formats: table, json, csv, yaml, plain
  • Auto-pagination and dry-run mode
  • Multi-instance support for MSPs via named profiles
  • System keychain integration for secure credential storage
  • Jamf Platform Gateway support with regional routing

Installation

Homebrew

brew install jamf-concepts/tap/jamf-cli

From source

go install github.com/Jamf-Concepts/jamf-cli@latest

Getting Started

# Interactive credential setup
jamf-cli pro setup

# Instance dashboard
jamf-cli pro overview

# List computers
jamf-cli pro comp list

# Aggregated device details
jamf-cli pro device <serial>

# Fleet security posture report
jamf-cli pro report security

Requirements

  • macOS or Linux
  • Jamf Pro and/or Jamf Protect instance with API access
license
MIT
requirements
Jamf Pro or Jamf Protect

Related