This script-based reference policy provides install and upgrade automation. It is not a signed package and does not include inventory, compliance reporting, or uninstall automation. Each employee authenticates with their own CodeRabbit account.
Before you start
- macOS 13 or later on Apple Silicon or Intel
- A Jamf Pro computer policy that runs scripts as
root - Outbound HTTPS access to
cli.coderabbit.ai - An approved CodeRabbit CLI version and its versioned Jamf release assets
- No existing CodeRabbit installation that shadows
/usr/local/bin/coderabbitor/usr/local/bin/cr
Download the release assets
Setversion to the release approved by your organization. Download the policy and checksum manifest from that exact version; do not use latest.
coderabbit-jamf-install.sh: OK. Read the two archive hashes for the Jamf parameters:
Configure the Jamf policy
1
Add the install script
Add
coderabbit-jamf-install.sh to Jamf Pro as a computer-management script.2
Set the release parameters
Label and set all three custom parameters from the same release.
Never combine a version with hashes from another release.
3
Create the policy
Attach the script to a Jamf policy and start with a narrow pilot scope. Jamf runs computer policies as
root; employees must not run this script themselves./usr/local/libexec/coderabbit/coderabbit and exposes /usr/local/bin/coderabbit and /usr/local/bin/cr through a root-owned launcher. The expected Apple Team ID is 47UZS55279.
Verify the pilot
Pilot every hardware architecture present in your fleet before broad deployment. In an employee terminal, verify the managed command and approved version:/usr/local/bin/coderabbit. The managed installation disables self-updates. When a newer version is available, the CLI directs employees to contact IT instead of running coderabbit update.
Share with employees
CodeRabbit CLI is available through Jamf.The Jamf policy does not authenticate asIT manages CLI updates. If the CLI reports that a newer version is available, contact IT; do not run
- Install CodeRabbit CLI from Jamf Self Service if it is not already installed.
- Open Terminal and run
cr auth login.- For the EU region, run
cr auth login --region euinstead.- Complete sign-in in your browser.
coderabbit update.
root, modify user Keychain entries, or remove ~/.coderabbit data.
Update or roll back
Employee authentication remains unchanged. If the policy reports partial or untrusted managed paths, stop and inspect the Mac; the reference policy does not guess which unexpected files are safe to remove.
What’s next
Command-Line Review Tool
Learn how employees authenticate and run local reviews
CLI command reference
Review available CLI commands and options