How to Detect and Restrict Cursor with Jamf Pro

First find every Mac where Cursor is installed, then use Jamf Pro to stop it where it is not approved. Kuntur does the finding; the restriction is done in Jamf Pro. This page covers macOS; for Windows see the Intune version.

By Kuntur team · Published

Step 1: find where Cursor is installed

Restrict only what you can see. Before writing a rule, find out which machines have Cursor, for which users, and how it was installed: the install method decides what a rule has to match. Two free ways:

  1. Download scan.sh.
  2. Read it. It's plain text; here's what it does.
  3. Check its SHA-256 against the published hash: shasum -a 256 scan.sh
  4. Run it: sh scan.sh

macOS and Linux shortcut, if you trust the source (Terminal)

curl -fsSL https://app.kuntur.io/scan.sh | sh

It needs no account and no admin rights, and uploads nothing.

Step 2: see what a rule has to match

Cursor is a regular app bundle, Cursor.app, in /Applications or a user's ~/Applications. Its main process is named after the app, with helper processes alongside. Confirm the names on a test Mac with the script.

macOS (Terminal), read-only

# Read-only. Run on a test Mac while Cursor is open: the process names to match.
ps -axo comm= | grep -i cursor | sort -u
ls -d /Applications/Cursor.app ~/Applications/Cursor.app 2>/dev/null

Step 3: restrict Cursor with Jamf Pro

Jamf Pro's Restricted Software stops an app by its process name. According to Jamf's documentation:

A record with the main process name and the kill action stops Cursor from staying open; add delete application only if your policy says the app must not be present, and tell users first.

What the rule will not catch

Where Kuntur fits

Kuntur finds where Cursor is installed, for every user profile, and lets you mark it approved or unauthorized with an audit trail. It does not block, restrict or uninstall anything: the restriction on this page is done by your MDM. Use the inventory before the rule (who will it affect?) and after it (are there installs the rule does not match, such as WSL or another install method?).

Kuntur detects and reports; it does not block, restrict or uninstall anything. Free for up to 5 endpoints; Pro is US$3 per endpoint per month.

FAQ

Can Jamf Pro block Cursor?
Jamf Pro's Restricted Software can kill a process by its exact name and optionally delete the application. How well that works for Cursor depends on its process names, covered on this page.
Does Kuntur block Cursor?
No. Kuntur finds where Cursor is installed and records whether you approved it. The restriction is a Jamf Pro Restricted Software record or another MDM control.
Does deleting Cursor remove the user's settings?
Jamf's delete action removes the application. User data folders such as ~/.cursor are separate; check Jamf's documentation for what delete covers in your version.

Sources

  1. Jamf support: Restricted Software in Jamf Pro
  2. Jamf Pro documentation: Creating a Restricted Software record

More guides and tools: