Open Cranes

Deploy Cranes Setup to your organization

For IT admins. Install Cranes Setup silently on every Mac and PC with Jamf, Kandji, Intune, or a script, so each person’s AI apps use Cranes without @cranes.

Cranes Setup can be installed on every computer in your organization without anyone opening it. Once deployed, it adds the Cranes line to the AI apps each person uses, keeps it there, and adds it to AI apps they install later.

Before you deploy

  • Each person needs Cranes, and their AI connected to it. Cranes Setup adds the line that tells an AI when to use Cranes. It doesn’t sign anyone in. People join your team and connect their AIs themselves.
  • Pick the line. --workspace "Your team" uses the line that names your team’s workspace, the same one people get by choosing it under Without typing @cranes. Use your team’s name exactly as it shows in Cranes. To use a line of your own, put it in a file and pass --line-file.
  • Pick the AI apps. All of them by default. To limit it, pass --apps with any of: claude-code, claude, chatgpt, cursor, opencode, antigravity, gemini-cli, pi, devin, gemini.

What a deployment does

Run as root on a Mac, or as an administrator or SYSTEM on Windows, --install sets Cranes Setup up for everyone who signs in to that computer:

Mac Windows
The program /Library/Application Support/Cranes Setup/ C:\Program Files\Cranes Setup\
Your settings /Library/Application Support/Cranes Setup/settings.json C:\ProgramData\Cranes Setup\settings.json
What runs it A LaunchAgent in /Library/LaunchAgents, in each person’s session An entry in HKLM\Software\Microsoft\Windows\CurrentVersion\Run, in each person’s session
When it applies At sign-in and every 15 minutes; within 15 minutes for anyone signed in now At sign-in, and whenever a file loses the line; at their next sign-in for anyone signed in now

In each person’s session, it adds the line to the files the AI apps found there read, like ~/.claude/CLAUDE.md and ~/.codex/AGENTS.md, between two marker comments, and leaves the rest of each file as it was. See Where it adds the line.

Your settings win over anything a person chose in Cranes Setup’s window, and people can’t turn it off there. Nothing it does needs Full Disk Access, admin rights in the person’s session, or a network connection after it’s installed.

Chat apps that keep instructions with each person’s account, like Claude and ChatGPT chats, Gemini, and Cursor’s User Rules, can’t be set from the computer. Your AI provider’s admin console may let you set instructions for your whole organization there.

Mac: Jamf, Kandji, Mosyle, or any MDM

Add this as a script that runs as root, in a policy scoped to the Macs you want:

#!/bin/sh
set -eu
WORK="$(mktemp -d)"
curl -fsSL https://usecranes.com/downloads/Cranes-Setup-mac.zip -o "$WORK/setup.zip"
ditto -x -k "$WORK/setup.zip" "$WORK"
"$WORK/Cranes Setup.app/Contents/MacOS/Cranes Setup" --install --workspace "Your team"
rm -rf "$WORK"

A download made this way isn’t marked as coming from the internet, so Gatekeeper doesn’t ask anyone anything. Cranes Setup copies itself into /Library/Application Support/Cranes Setup/, so the download can be deleted.

macOS shows each person a Background Items Added notice the first time it runs, and lists Cranes Setup in System Settings › General › Login Items. To keep people from turning it off there, add a managed login items payload for the label com.cranesintelligence.setup.

Windows: Intune, Configuration Manager, or any tool

Run this PowerShell as SYSTEM (in Intune, a platform script with Run this script using the logged on credentials off):

$ErrorActionPreference = "Stop"
$exe = Join-Path $env:TEMP "Cranes-Setup-windows.exe"
Invoke-WebRequest https://usecranes.com/downloads/Cranes-Setup-windows.exe -OutFile $exe
& $exe --install --workspace "Your team" | Out-Host
Remove-Item $exe

To deploy it as an Intune Win32 app instead, package Cranes-Setup-windows.exe and use:

  • Install command: Cranes-Setup-windows.exe --install --workspace "Your team"
  • Uninstall command: "C:\Program Files\Cranes Setup\cranes-setup.exe" --uninstall
  • Install behavior: System
  • Detection rule: the file C:\ProgramData\Cranes Setup\settings.json exists

Cranes Setup shows in each person’s Task Manager › Startup apps.

Check it worked

On a computer, as the person, run:

  • Mac: "/Library/Application Support/Cranes Setup/cranes-setup" --status
  • Windows: "C:\Program Files\Cranes Setup\cranes-setup.exe" --status

It prints, as JSON, "managed": true, the line in use, and for each AI app whether it was found on the computer and whether it has the line.

Change the line or the apps

Run --install again with the new options. Each person gets the new line at their next check.

Remove it

Run as root or an administrator:

  • Mac: "/Library/Application Support/Cranes Setup/cranes-setup" --uninstall
  • Windows: "C:\Program Files\Cranes Setup\cranes-setup.exe" --uninstall

This stops it for everyone, removes the program and your settings, and takes the line out of every account’s files on that computer. A file that held only the line is removed.

All options

Option What it does
--install Adds the line and keeps it in place. As root or an administrator, for everyone on the computer; otherwise for the person running it.
--workspace NAME Uses the line that names this workspace.
--line TEXT Uses this line instead.
--line-file PATH Uses the line in this file instead.
--apps all or --apps ID,ID Which AI apps to add it to. all is the default, and includes AI apps installed later.
--no-keep For one person only: adds the line once, with no background check.
--uninstall Removes it, for everyone when run as root or an administrator.
--status Prints what’s found, what has the line, and the line in use, as JSON.

It exits with 0 when it worked, 1 when an app’s file couldn’t be written, and 64 for an option it doesn’t know.

Deploy Cranes Setup to your organization Ask us